note 7657 deleted from control-structures.while by didou

From: Date: Tue, 05 Aug 2003 03:39:12 +0000
Subject: note 7657 deleted from control-structures.while by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53377@lists.php.net to get a copy of this message
Note Submitter: jednet@inept.net ---- To use multiple conditions in a while statement, you just need to remember the order of operations, and put things in parenthesis. while(($row = mysql_fetch_row($results)) && ($count++<10));

« previous php.notes (#53377) next »