Re: skip a row in foreach loop
| From: | Chris Boget | Date: | Wed, 03 Aug 2005 15:53:50 +0000 |
| Subject: | Re: skip a row in foreach loop | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219905@lists.php.net to get a copy of this message | ||
but there is a tons of code lines inside the loop and was thingking is there any part in foreach function that can do that? something like: foraech($results as $key => $value, skip(empty($value))) { // }'continue' is your friend. http://us3.php.net/manual/en/control-structures.continue.php thnx, Chris