Try the "empty($variable)" function.

HTH

Jayme.

-----Mensagem Original-----
De: Michael Gerholdt <[EMAIL PROTECTED]>
Para: <[EMAIL PROTECTED]>
Enviada em: sábado, 17 de março de 2001 23:12
Assunto: [PHP-DB] if () and () - newbie Q


> Why won't this work for me?
>
> if (($rectype == 'events') and ($action == '') and ($manage == '')){}
>
> I've also tried
>
> if ($rectype == 'events') and ($action == '') and ($manage == ''){}
>
> I want to have differences between this and something like:
>
> if (($rectype == 'events') and ($action == 'add') and ($manage == 'some'))
>
> Also -
>
> what about something like 'isNull' ? I don't see any documentation in the
> PHP online manual nor is 'null' even mentioned in the index of my Core PHP
> book.
>
> Regards,
> Michael Gerholdt
> SUNY College at Fredonia
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to