Sebastian Wramba
Erfahrenes Mitglied
Ich bekomme folgende Fehlermeldung bei meiner Shoutbox:
Warning: Supplied argument is not a valid MySQL result resource in c:\apache\htdocs\gouraud3\shoutbox.php on line 46
Warning: Supplied argument is not a valid MySQL-Link resource in c:\apache\htdocs\gouraud3\shoutbox.php on line 50
Die relevanten Zeilen sehen so aus (44-50):
vielleicht weiß einer was, und kann mir mal wieder helfen.
Warning: Supplied argument is not a valid MySQL result resource in c:\apache\htdocs\gouraud3\shoutbox.php on line 46
Warning: Supplied argument is not a valid MySQL-Link resource in c:\apache\htdocs\gouraud3\shoutbox.php on line 50
Die relevanten Zeilen sehen so aus (44-50):
PHP:
mysql_connect ($sqlhost,$username,$passwort);
mysql_select_db ($database);
$number = mysql_num_rows($result);
$seiten=floor($number/$proseite);
$start=$page * $proseite;
$sql="SELECT * FROM shout LIMIT $start,$proseite ORDER BY id DESC";
$result = mysql_query($sql,$db);
vielleicht weiß einer was, und kann mir mal wieder helfen.