You are here: Re: What does this mean? « All PHP « IT news, forums, messages
Re: What does this mean?

Posted by Oli Filth on 02/24/06 03:28

J.O. Aho said the following on 21/02/2006 00:30:
> Smiley wrote:
>> I taught myself PHP a few years ago and I use it frequently. Recently
>> I downloaded a PHP script built by somebody else, and came across this
>> piece of code:
>>
>> $password = isset($HTTP_POST_VARS['password']) ?
>> $HTTP_POST_VARS['password'] : '';
>>
>> I have never seen the question mark or colon used in this way before.
>> I can't find any reference to it in my PHP book. Please tell me what
>> it means.
>
>
> It's a form of an if-statement...

Arrgh!! Don't say that!!!


--
Oli

 

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

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