php3-list | 199807
Date: 07/31/98
- Next message: Richard Lynch: "Re: [PHP3] How do I insert NULL???"
- Previous message: pnet <email protected>: "Re: [PHP3] Authorization Questions"
- Maybe in reply to: Stefan Powell: "[PHP3] Need a little clarification on mysql_query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 31 Jul 1998 11:45 -0400 "Stefan Powell" <spowell <email protected>> wrote:
>> True, at least this seems to work for me. ;-)
>
> Ok. I'll ad that to the doc notes too.
According to the docs, it returns a positive MySQL result identifier on
success, or false on error.
So, I always check: if ( $query_result > 0 ) # it worked
I suppose if ( $query_result ) would be just as effective.
-- Tommy Williams <mailto:Tommy.Williams <email protected>> <URL:http://www.mc.Vanderbilt.Edu/~tommy/>-- PHP 3 Mailing List http://www.php.net/ To unsubscribe send an empty message to php3-unsubscribe <email protected> To subscribe to the digest list: php3-digest-subscribe <email protected> For help: php3-help <email protected> Archive: http://www.php.net/mailsearch.php3
- Next message: Richard Lynch: "Re: [PHP3] How do I insert NULL???"
- Previous message: pnet <email protected>: "Re: [PHP3] Authorization Questions"
- Maybe in reply to: Stefan Powell: "[PHP3] Need a little clarification on mysql_query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

