On Tuesday, 12 April 2011 at 10:36, 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. http://stut.net/2011/04/12/php-snippet-array-element-access/ -Stuart -- Stuart Dallas 3ft9 Ltd http://3ft9.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php