it is a script which show the last 10 threads on wherever you want.
it was working fine on vb3.0.7
but now it does not.
i fixed many errors but this one make me crazy
this is what i ve got:
Fatal error: Call to a member function query_first() on a non-object in c:\AppServ\www\vb350gold\ana\lastsetup.php on line 1903
and this is the code of that line
$childsets = $db->query_first("
SELECT styleid, title, parentlist
FROM " . TABLE_PREFIX . "style
WHERE parentid = $styleid
");
it was working fine on vb3.0.7
but now it does not.
i fixed many errors but this one make me crazy
this is what i ve got:
Fatal error: Call to a member function query_first() on a non-object in c:\AppServ\www\vb350gold\ana\lastsetup.php on line 1903
and this is the code of that line
$childsets = $db->query_first("
SELECT styleid, title, parentlist
FROM " . TABLE_PREFIX . "style
WHERE parentid = $styleid
");
Comment