View Single Post
Old Jun 27th, 2007, 5:55 PM   #7
Fourth
Newbie
 
Join Date: May 2007
Posts: 3
Rep Power: 0 Fourth is an unknown quantity at this point
Quote:
Originally Posted by Infinite Recursion View Post
Execute the query using an invalid value for the name, then print out what the resulting value is (probably null), and note the Exception returned. There may also be a mysql_fetch_row type of function that will yield 0 or null based on the results of the query that is passed in.
this is the answer to my knowledge. at least in my experience with asking for things in a database in mysql the return of an empty result is null.
Fourth is offline   Reply With Quote