note 49456 added to control-structures.continue
| From: | dedlfixgivesmeahint at osu1 dot php dot net | Date: | Fri, 28 Jan 2005 14:47:08 +0000 |
| Subject: | note 49456 added to control-structures.continue | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-84124@lists.php.net to get a copy of this message | ||
a possible solution for
greg AT laundrymat.tv
I've got the same problem as Greg
and now it works very fine by using
return() instead of continue.
It seems, that you have to use return()
if you have a file included and
you want to continue with the next loop
----
Manual Page -- http://www.php.net/manual/en/control-structures.continue.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+49456
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+49456&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+49456&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+49456&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+49456&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+49456&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+49456&report=yes
Search -- http://master.php.net/manage/user-notes.php