Re: Not Null?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2007. 10. 31, szerda keltezéssel 10.48-kor Steve Marquez ezt írta:
> Greetings,
> 
> I have a script that looks for the variable to be NULL and then execute. Is
> there a way for the script to look for anything or something in the variable
> and then execute?
> 
> Ex: 
> 
> If (Œ$a¹ == Œ ANYTHING¹) {
> 
> some action
> 
> }else{
> 
> some other action
> 
> }

try isset($a)

greets
Zoltán Németh

> 
> Thank you for any help.
> 
> --
> Steve M.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux