note 25888 added to language.operators.logical
| From: | shiyaz at bml dot com dot mv | Date: | Thu, 10 Oct 2002 05:51:43 +0000 |
| Subject: | note 25888 added to language.operators.logical | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-37877@lists.php.net to get a copy of this message | ||
typo....
should be as below (|| instead of &&)
$found=false;
while( (!$found) || odbc_fetch_row($rst) ){
if (odbc_result($rst, 1) == $sid )
$found=true;
}
echo odbc_result($rst,1);
--
http://www.php.net/manual/en/language.operators.logical.php
http://master.php.net/manage/user-notes.php?action=edit+25888
http://master.php.net/manage/user-notes.php?action=delete+25888
http://master.php.net/manage/user-notes.php?action=reject+25888