How do you count the number of records in a database?
If you have:
$db = mysql_connect("localhost","foot","blah"
;
mysql_select_db("foot",$db);
$result = mysql_query("SELECT * FROM cat",$db);
I tried using count myrow but this doesn't work.
Cheers
James
If you have:
$db = mysql_connect("localhost","foot","blah"
mysql_select_db("foot",$db);
$result = mysql_query("SELECT * FROM cat",$db);
I tried using count myrow but this doesn't work.
Cheers
James