Hi,
kann mir jemand agen, was mir diese Fehlermeldung sagt ???
Warning: Supplied argument is not a valid MySQL result resource in /is/htdocs/13209/guestbook/look_eintrag.php on line 22
Der Quellcode dazu sieht so aus ...
$sql_query_select = "select count(id) from guestbook";
$bla = mysql_query($sql_query);
while ($row = mysql_fetch_array($bla)){
print "<table width=\"605\" align=\"center\" border=\"0\" bgcolor=\"#F6B007\">"; //äußere Tabelle
print "<tr>";
print "<td>";
print "<table border=\"0\" bgcolor=\"#888888\" width=\"600\">"; //innere Tabelle
print "<tr>"; //Text
print "<td width=\"600\" class='innen' colspan=\"3\"> $row[name] <br></td>";
print "</tr>";
print "<tr>"; //Name
print "<td width=\"600\" class='innen' colspan=\"3\"></td>";
print "</tr>";
print "</table>"; //innere Tabelle
print "</td>";
print "</tr>";
print "</table>"; //äußere Tabelle
}
mysql_close($db);
kann mir jemand agen, was mir diese Fehlermeldung sagt ???
Warning: Supplied argument is not a valid MySQL result resource in /is/htdocs/13209/guestbook/look_eintrag.php on line 22
Der Quellcode dazu sieht so aus ...
$sql_query_select = "select count(id) from guestbook";
$bla = mysql_query($sql_query);
while ($row = mysql_fetch_array($bla)){
print "<table width=\"605\" align=\"center\" border=\"0\" bgcolor=\"#F6B007\">"; //äußere Tabelle
print "<tr>";
print "<td>";
print "<table border=\"0\" bgcolor=\"#888888\" width=\"600\">"; //innere Tabelle
print "<tr>"; //Text
print "<td width=\"600\" class='innen' colspan=\"3\"> $row[name] <br></td>";
print "</tr>";
print "<tr>"; //Name
print "<td width=\"600\" class='innen' colspan=\"3\"></td>";
print "</tr>";
print "</table>"; //innere Tabelle
print "</td>";
print "</tr>";
print "</table>"; //äußere Tabelle
}
mysql_close($db);
Kommentar