Re: isset opposite

From: Date: Wed, 17 Nov 2004 00:13:32 +0000
Subject: Re: isset opposite
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-202251@lists.php.net to get a copy of this message
On Tue, 2004-11-16 at 15:11 -0800, Dustin Krysak wrote: > Hi there.. I am pretty new to PHP, and I am familiar with php "isset" > option.... now i was wondering.... (I have looked at the PHP site - but > can not find it) how can you check if something is not set? I need to > test if a $_GET is not set (not just empty). > > thanks in advance! > > d > isset() returns a boolean. so...try, if (!isset($x)) -- /*************************************** * Robby Russell | Owner.Developer.Geek * PLANET ARGON | www.planetargon.com * Portland, OR | robby@planetargon.com * 503.351.4730 | blog.planetargon.com * PHP/PostgreSQL Hosting & Development * --- Now supporting PHP5 --- ****************************************/

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.general (#202251) next »