Dan Bowkley wrote:
got it...rather than return false, mysql_result throws an error if the query
returns nothing.  What a pain.

NOT True.


If the query is syntactically valid and nothing matches, mysql returns zero rows which is not an error, at least on the part of the dbms. Use mysql_num_rows() to test for this condition.

Doug

Finished product at
http://www.dibcomputers.com/new-dibcomputers/index.php.txt if anyone wants
to steal it...

D

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



Reply via email to