note 20778 added to function.next
| From: | iaxhaquer at hotmail dot com | Date: | Tue, 16 Apr 2002 01:00:51 +0000 |
| Subject: | note 20778 added to function.next | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-29408@lists.php.net to get a copy of this message | ||
So is there any sort of perl'ish next; function?
while ($line = mysql_fetch_array($result)) {
if ( preg_match("/match_value/", $line["item"]) ) {
print " This matched: ". $line["keycode"] ." \n";
next;
// skip the rest of this code and go on to the next $line
}
^^^^^^ Doesn't work. :(
--
http://www.php.net/manual/en/function.next.php
http://master.php.net/manage/user-notes.php?action=edit+20778
http://master.php.net/manage/user-notes.php?action=delete+20778
http://master.php.net/manage/user-notes.php?action=reject+20778