You are here: Re: modifying 'for... loop ' with php to leave out one number « PHP Programming Language « IT news, forums, messages
Re: modifying 'for... loop ' with php to leave out one number

Posted by Ian Davies on 09/25/34 11:54

"Kimmo Laine" <spam@outolempi.net> wrote in message
news:R7Dzg.141$Y41.129@reader1.news.jippii.net...
> "Ian Davies" <ian.dandav@virgin.net> wrote in message
> news:Odwzg.103832$sz1.66846@newsfe6-gui.ntli.net...
> > Thans all
> > I think the switch would be best thanks
>
> No, it's just closest thing to what you've used in VB. A simple if
> statement, such as the one suggested by Miquel, would be the _best_
choice.
>
> --
> "Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
> http://outolempi.net/ahdistus/ - Satunnaisesti pδivittyvδ nettisarjis
> spam@outolempi.net || Gedoon-S @ IRCnet || rot13(xvzzb@bhgbyrzcv.arg)
>
>
Hello
I also realised this too and have decides afterall to go with the if
statement by Miquel (THANKS MIQUEL) as there will be less lines of code. Do
you know if there is a performance advantage over the switch method?

Ian

 

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

Π‘Π°ΠΉΡ‚ ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ Π² Π‘Ρ‚ΡƒΠ΄ΠΈΠΈ Π’Π°Π»Π΅Π½Ρ‚ΠΈΠ½Π° ΠŸΠ΅Ρ‚Ρ€ΡƒΡ‡Π΅ΠΊΠ°
ΠΈΠ·Π³ΠΎΡ‚ΠΎΠ²Π»Π΅Π½ΠΈΠ΅ ΠΈ ΠΏΠΎΠ΄Π΄Π΅Ρ€ΠΆΠΊΠ° Π²Π΅Π±-сайтов, Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ обСспСчСния, поисковая оптимизация