Reply to Re: [PHP] comparison operator

Your name:

Reply:


Posted by Richard Lynch on 10/04/81 11:10

> i ran into this problem and i dont remember how i worked around it.

http://php.net/isset

> if($_REQUEST['value'] == 1)
> {
> // do something
> }
> else if($_REQUEST['value'] == 0)
> {
> // do something
> }
>
> even if i don't do ?value=0 its always prints something.. i want to make
> an
> on/off value based on the value of the url.. 1 for yes, 0 for no. but i
> only
> want false IF its declared in the url..
>
> i dont want to use a number other than 0, workaround?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--
Like Music?
http://l-i-e.com/artists.htm

[Back to original 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

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