> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to