Reply to Re: [PHP] skip a row in foreach loop

Your name:

Reply:


Posted by "Chris Boget" on 08/03/05 18:53

> 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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация