Re: a shortcut to set variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joe Francis wrote:

> eh, I just want to get a shortcut like
> 
> $id = isset($_GET['id']) ? $_GET['id'] : 0;
> 
> 
> BTW, I'm using PHP5.3+, thanks bros.
> 

That should work - what is not happening that you expect to happen, or the
other way round? 


Cheers
-- 
David Robley

The best way to keep friends is not to give them away.
Today is Boomtime, the 29th day of Discord in the YOLD 3177. 


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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux