note 7657 added to while
| From: | jednet at inept dot net | Date: | Thu, 10 Aug 2000 11:44:52 +0000 |
| Subject: | note 7657 added to while | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-772@lists.php.net to get a copy of this message | ||
You can use multiple conditions, you just need to remember the order of opperations, and put things
in parenthasis.
while(($row = mysql_fetch_row($results)) && ($count++<10));
http://www.php.net/manual/control-structures.while.php