note 10303 added to do..while
| From: | temp_guy at hotmail dot com | Date: | Tue, 26 Dec 2000 22:31:25 +0000 |
| Subject: | note 10303 added to do..while | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9097@lists.php.net to get a copy of this message | ||
But this example could just as easily be accomplished with if-else and/or switch structures:
if ($a >= 0) /* first condition */
{
/* put code here */
if ($b == 5) /* second condition */
{
/* more code here */
}
}
[note: sorry if the indentions don't work; since HTML has been disabled in these notes, there
isn't a way (that I know of) to indent properly]
http://www.php.net/manual/control-structures.do.while.php