vd-meij.nl
Gebruiker
- Lid geworden
- 19 jan 2004
- Berichten
- 33
Hey, all
Ik krijg deze fout in n script
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/jordy/public_html/mysql.php on line 17
wat doe ik fout :S
Ik krijg deze fout in n script
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/jordy/public_html/mysql.php on line 17
PHP:
<?php
$db = mysql_connect("localhost", "jordy_", "") or die ("Verbinding mislukt");
mysql_select_db("cws", $db);
$SQL_statement = "SELECT product_id,prijs * FROM processor";
$resultset = mysql_query($SQL_statement);
$count_rows = mysql_num_rows($resultset);
echo "De processoren " . $count_rows;
mysql_close();
?>
wat doe ik fout :S