I did var_dump on the result resource and I got resource(5) of type (mysql result).
--- Begin Message ---
On Mar 26, 2008, at 12:30 PM, Evert Lammerts wrote:
OK. Tried that and count comes back as 1.
So your query returns only one record. Try
$query ="Select answer from answers";
Why not do a var_dump() on $result to verify that it
is a mysql result resource and then verify the count
of rows with: mysql_num_rows($result);
--- End Message ---
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php