Hi all,
could somebody explaine me why this is not working ???
<?php
mysql_connect ("$host");
mysql_select_db("$db");
$sql= "SELECT ID FROM gegevens" ;
$test=mysql_query($sql);
$nb = mysql_num_rows("$test");
echo "We found $nb members with name Wessam";
?>
i get an error when i try it.
did get the code from php.net
the error i get "mysql_num_fields(): supplied argument is not a valid MySQL "
thanks for you time