On 06/18/11 13:27, Ashley Sheridan wrote:

> You'll only get an error if there was an error with the query. A query that 
> has no result is still a valid query, so won't return an error. It's quite 
> common to check the value of mysql_num_rows() before trying to use the 
> results of the query.

But in that case it would return boolean true rather than NULL, right?


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to