HELLO!
I was using this script
<?php
$link = mysql_connect("localhost", "mysql_user", "mysql_password");
mysql_select_db("database", $link);
$result = mysql_query("SELECT * FROM table1", $link);
$num_rows = mysql_num_rows($result);
echo "$num_rows Rows\n";
?>
to get mysql_num_rows , and it worked fine
with mysql 3.x
Now I have upgraded to mysql 4 and I am receiving this error
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource
Anyone can help me please ?
Graziano