bdg1983
06-15-2001, 02:21 AM
this:
$number = mysql_query("SELECT COUNT(id) FROM table");
echo $number;
Returns:
"Resource id #3"
Shouldn't it return the number of rows in the ID field?
Thanks.
Alex
$number = mysql_query("SELECT COUNT(id) FROM table");
echo $number;
Returns:
"Resource id #3"
Shouldn't it return the number of rows in the ID field?
Thanks.
Alex