Ich habe ein Problem mit einer DBabfrage. Es erscheint immer
Code: Alles auswählen
Fatal error: Call to a member function sql_query() on a non-object in /home/corni/forencmsundco/LoDforumneu/phpbb2+153aohnectmitupi2db307/includes/functions_ranking.php on line 36
Code: Alles auswählen
$sql="SELECT `user_id` , `username` , `user_posts` , `user_totaltime`
FROM ".USERS_TABLE;
if( !($result = $db->sql_query($sql)) )
{
message_die(CRITICAL_ERROR, "Could not query user information", "", __LINE__, __FILE__, $sql);
}
Kann mir jemand helfen?
Corni
edit läßt sagen, das es in einr Funktion stattfindet
Ich habs

