Re: What does this do?: If(!$sql_result)

From: Date: Wed, 22 Nov 2000 11:17:58 +0000
Subject: Re: What does this do?: If(!$sql_result)
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-26616@lists.php.net to get a copy of this message
If $sql_result is used like e.g. $sql_result=mysql_db_query('whatever.... It can contin values true or false if the SQL query fails.. In that case it means if the sql query was successful or not Michal -- **************************** Michal Thomka Programmer/Developer _______________________ surfEU.com GmbH Nordbahnstrasse 36/1/3 A-1020 Wien Tel: +43 1 9989777-208 Fax: +43 1 9989777-200 mailto: misko@surfeu.com http://www.surfeu.at/ **************************** Cybercandy wrote: > What does this do?: If(!$sql_result) > > I don't understand what the exclamation mark does in this context, please > shed some light. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#26616) next »