You are here: Re: WHILE loop problems « All PHP « IT news, forums, messages
Re: WHILE loop problems

Posted by Vince Morgan on 04/10/07 22:09

"Steve" <no.one@example.com> wrote in message
news:xQNSh.14$yM5.9@newsfe02.lga...

> clear as mud? why then does the pre-incrementor work? because ++$m
considers
> $m BEFORE the rhs operation sets the lhs variable. so, all is known...at
all
> times. however in $m = $m++, the lhs $m is pending a value assignment and
> $m++ only increments after the line $m = $m++ is executed...it's a catch
22.
>
> are you thinking, 'BAD PHP! BAD! BAD!'? well...try this:

Nah, it's the OP that I was thinking that of actualy ;)
Thank you, very much appreciated!

 

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

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