You are here: RE: [PHP] Re: Like ternary but without the else. « PHP « IT news, forums, messages
RE: [PHP] Re: Like ternary but without the else.

Posted by David Robley on 03/01/05 08:46

Chris W. Parker wrote:

> Richard Lynch <mailto:ceo@l-i-e.com>
> on Monday, February 28, 2005 5:12 PM said:
>
>> Course, I gotta say that maybe you're coming at this wrong in the
>> first place, if you have to change $this based on $something to $that
>> but $this already has a value...
>>
>> Maybe you should have figured out what $this should be back when you
>> first initialized it?
>>
>> Maybe not. Can't tell without seeing more code.
>
> Hmm.. possible. I'll have to go back and look at it as I haven't messed
> with it in a few days.
>
>
>
> Thanks,
> Chris.

Just a side note here; the variable $this will probably bite you if/when you
upgrade to php 5 :-)

David

 

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

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