Re: [PHP-DB] if () and () - newbie Q

2001-03-18 Thread CC Zona

In article <000f01c0af50$e5092480$6609ee8d@pmg>,
 [EMAIL PROTECTED] ("Michael Gerholdt") wrote:

> 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.

You must not have looked very hard.  Next time, check the function list or 
use the manual's search feature, 'cuz it was right there: 


-- 
CC

-- 
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]




Re: [PHP-DB] if () and () - newbie Q

2001-03-17 Thread JJeffman

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]