Quote:
Originally Posted by hugojr
OK I have done everthing but I am getting an error in the admincp now everytime I go to search for users I get this error
PHP Code:
Fatal error: Call to a member function on a non-object in /home/hugojr/public_html/florida2/includes/adminfunctions.php on line 1156
what does this mean? here is what line 1156 looks like
PHP Code:
$result = $DB_site->query("SELECT title, $tableid FROM " . TABLE_PREFIX . "$tablename $wherecondition ORDER BY title");
please someone please help me..
|
Hmm, that looks fine to me. The only function you are callind is $DB_site so I'm not sure why line 1156 would not work while 1154 does. What happens if you make the two the same? Does the query run then? (Obviously, don't leave it that way! Just for testing the code.)