You are here: Re: arrays... and long-term-novice « PHP Programming Language « IT news, forums, messages
Re: arrays... and long-term-novice

Posted by Geoff Berrow on 10/25/05 22:23

A waste of electrons? You decide, but Message-ID:
<1h4zos3.163ag8a1m0ru1dN%hidden@mail.zz> from Ja NE contained the
following:

> foreach ($made as $key=>$value){
> $i++
> processing (with_job);
> if ($i == 1) {
> break; //had to deal with the one only
> }
> }
wouldn't this work?

foreach ($made as $key=>$value){

processing (with_job);

break;

}

--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/

 

Navigation:

[Reply to this 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

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