Re: Re: If...Or...Else

From: Date: Sun, 25 Jul 2004 13:42:42 +0000
Subject: Re: Re: If...Or...Else
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-191813@lists.php.net to get a copy of this message
"Jason Davidson" <jason.davidson@gmail.com> wrote in message news:6c925ae204072412386fa9cefa@mail.gmail.com... > ah right.. :) > Jason OR has a very low priority , and right argument is not evaluated if left one is true. In other words OR is here so that you could in pre exception handling days easily write something like this: mysql_query(...) OR die; so as long mysql_query returns non false result , everything is fine and script continues, if it returns 0 (false), script dies. rush -- http://www.templatetamer.com/

« previous php.general (#191813) next »