note 29000 added to control-structures.for
| From: | Nate at rack1 dot php dot net | Date: | Thu, 30 Jan 2003 01:45:27 +0000 |
| Subject: | note 29000 added to control-structures.for | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43105@lists.php.net to get a copy of this message | ||
I forget this every time I need it.
In Perl (and maybe other languages) you can skip out of your current for/while loop with the command
"next".
In PHP you need to use "continue" instead.
--
http://www.php.net/manual/en/control-structures.for.php
http://master.php.net/manage/user-notes.php?action=edit+29000
http://master.php.net/manage/user-notes.php?action=delete+29000
http://master.php.net/manage/user-notes.php?action=reject+29000