Re: if ($blah) clauses

From: Date: Sat, 08 Jul 2000 22:36:19 +0000
Subject: Re: if ($blah) clauses
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-5570@lists.php.net to get a copy of this message
if(!isset($blah)) { do something; } Reuben Donald Budiardja reubendb@goshen.edu Homepage: http://www.goshen.edu/~reubendb On Sat, 8 Jul 2000, Emile Axelrad wrote: > Bonjourno! > > A question - easiest one you'll have seen all day! > > if ($blah) { > do something; > } > > > Thats fine. If $blah doesn't have a null value, it executes. But how do I > say, if $blah DOESN'T have a value, then execute? > > i.e. something like > > if (!=$blah) { > do something; > } > > > . I am not interested in if ($blah == '') or something like that - I'd like > a 'neat' way of doing it! :o) > > Cheers, > Emile > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#5570) next »