|
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]
|