Re: [PHP-DEV] 3.0.12: mysql_store_result in php3_mysql_query From: Rasmus Lerdorf (rasmus <email protected>)
Date: 09/02/99

> > > Why is it returning true if there was an error? mysql_store_result()
> > returns
> > > NULL if an error occurs.
>
> Actually no, mysql_store_result() returns NULL in many cases. You may call
> them errors, but from our point of view, they aren't.

David, did you actually step through the code to verify that
mysql_store_result() is returning NULL on your SELECT query? If it is,
then I agree with you that there is a problem, otherwise, Zeev is right,
the NULL return is likely valid.

-Rasmus

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>