Fehlermeldung:
PHP-Code:
Warning: mysql_fetch_array() expects parameter 1 to be resource, integer given in /var/www/web535/html/dragonriders/lib/header.php on line 27
Warning: mysql_fetch_array() expects parameter 1 to be resource, integer given in /var/www/web535/html/dragonriders/lib/header.php on line 28
Warning: mysql_fetch_array() expects parameter 1 to be resource, integer given in /var/www/web535/html/dragonriders/lib/header.php on line 39
Zeile 25-41
PHP-Code:
$kontodaten = mysql_fetch_array(db_query("SELECT * FROM ".$db_prefix."_kontodaten WHERE uid=".$_SESSION['uid']." LIMIT 1"));
$klickst = mysql_fetch_array(db_query("SELECT * FROM ".$db_prefix."_tklickrally WHERE uid=".$_SESSION['uid']." LIMIT 1"));
// Anfang - Aktivpunkte Anzeige Guthaben Menü
$sql = db_query("SELECT k.bv,bpg,bp FROM
".$db_prefix."_kontodaten k
LEFT JOIN ".$db_prefix."_userdaten u ON u.uid = k.uid
LEFT JOIN ".$db_prefix."_werberdaten w ON w.uid = k.uid
WHERE k.uid=".$_SESSION['uid']." LIMIT 1");
$kontoinfo = mysql_fetch_array($sql);
// Ende - Aktivpunkte Anzeige Guthaben Menü
?>
Was kann ich machen das die Meldung verschwindet?