Re: not null

From: Date: Wed, 01 Aug 2001 20:30:51 +0000
Subject: Re: not null
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-60811@lists.php.net to get a copy of this message
> When a field is declared as an integer, not null and is the primary, > how would I address it's empty set? > > ex: if($value == ???) > { > bla > bla > bla > } > > > My condition wants there to be nothing in $value. The entire point of NOT NULL is that there will never be nothing in $value... You either need to remove the NOT NULL and allow there to be NULL values, or re-think your algorithm. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#60811) next »