Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199901

[PHP3] Am I right? From: Andrea Paparelli (andrea <email protected>)
Date: 01/12/99

Stupid question for all ( no brain today :PP )

Looking in the manual i get this from mysql_db_query :

Returns: A positive MySQL result identifier to the query result, or
false on error.

This means that if I write a code like this :

if (!$result) {
        /*
        do some code 'cause your query didn't go well
        */
}

I'm right?

TIA Andrea

--
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
List administrator:  zeev <email protected>