RE: [PHP-DB] handling a SELECT that returns nothing

2007-04-27 Thread Miguel Guirao
The mysql_query function executes a query againts a DBM and just that, it delivers the query to the DBM, if the DBM can execute the query, it returns a positive integer, if the DBM can not execute the query, it returns 0 or false, can't remember exactly right now. So, it will return a positive

RE: [PHP-DB] handling a SELECT that returns nothing

2007-04-27 Thread MIGUEL ANTONIO GUIRAO AGUILERA
The mysql_query function executes a query againts a DBM and just that, it delivers the query to the DBM, if the DBM can execute the query, it returns a positive integer, if the DBM can not execute the query, it returns 0 or false, can't remember exactly right now. So, it will return a

Re: [PHP-DB] handling a SELECT that returns nothing

2007-04-27 Thread Tim McGeary
Thanks! Tim Miguel Guirao wrote: The mysql_query function executes a query againts a DBM and just that, it delivers the query to the DBM, if the DBM can execute the query, it returns a positive integer, if the DBM can not execute the query, it returns 0 or false, can't remember exactly right