I don’t know much php but a little, it was more this bit I meant:
usedb( “blog”,“dbLinkInt” );
In the header file I’ve put it exactly as that but didn’t know if that was right?
I don’t know much php but a little, it was more this bit I meant:
usedb( “blog”,“dbLinkInt” );
In the header file I’ve put it exactly as that but didn’t know if that was right?
Did you try it and see if it works?
Yep and I got the same error. I’m trying to get it to work with WordPress but I don’t know which table in the database it’s trying to use. I’ve added this to the header.php file:
# blog
usedb( "blog","dbLinkInt" );
$query="select * from wp_options";
$result=dbselect( $query,"dbLinkInt" );
I know that that database and table exist but I still get the same error
So this line tells me one of two things:
1: Your code seems to expect a MaxDB object.
2: Your code expects a customized database class. [PDO does not abstract a connect_errno property; neither does any class i can find in the PHP reference].
Is it possible to fix it?