RE: [PHP] not null
| From: | Slavomir Slizik | Date: | Wed, 08 Aug 2001 10:44:56 +0000 |
| Subject: | RE: [PHP] not null | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-61787@lists.php.net to get a copy of this message | ||
if (empty($value)) { ... }
On Wed, 1 Aug 2001, Craig Vincent wrote:
>
> > 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.
>
> Are you referring to the (INT, NOT NULL, PRIMARY) field being in a database?
>
> Sincerely,
>
> Craig Vincent
>
>
> --
> 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
>