Timon
01.09.2002, 17:04
Hi, ich habe ein Problem und weiss einfach nicht weiter..
$message = "SELECT poster_name, poster_website, post_text FROM $dbname WHERE sb_id == $id ORDER BY post_id DESC";
$ergebnis = mysql_query($message);
while($row = mysql_fetch_object($ergebnis))
{
echo $row->poster_name;
};
Error:
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in html/xloop/shoutbox/ shoutbox.php on line 31
Die Dick gedruckte Zeile ist Zeile 31. bei row->xxx muss doch der Name einer Spalte rein, oder?
Ich hoffe ihr könnt mir helfen.
$message = "SELECT poster_name, poster_website, post_text FROM $dbname WHERE sb_id == $id ORDER BY post_id DESC";
$ergebnis = mysql_query($message);
while($row = mysql_fetch_object($ergebnis))
{
echo $row->poster_name;
};
Error:
Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in html/xloop/shoutbox/ shoutbox.php on line 31
Die Dick gedruckte Zeile ist Zeile 31. bei row->xxx muss doch der Name einer Spalte rein, oder?
Ich hoffe ihr könnt mir helfen.