note 20778 rejected from function.next by ronabop
| From: | ronabop@php.net | Date: | Tue, 16 Apr 2002 05:03:48 +0000 |
| Subject: | note 20778 rejected from function.next by ronabop | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-29420@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. :(