Re: if () and () - newbie Q
| From: | JJeffman | Date: | Sun, 18 Mar 2001 05:11:25 +0000 |
| Subject: | Re: if () and () - newbie Q | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7572@lists.php.net to get a copy of this message | ||
Try the "empty($variable)" function.
HTH
Jayme.
-----Mensagem Original-----
De: Michael Gerholdt <keywordz@keywordz.net>
Para: <php-db@lists.php.net>
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: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>