Re: note 8037 added to Variables
| From: | Hartmut Holzgraefe | Date: | Thu, 24 Aug 2000 19:28:38 +0000 |
| Subject: | Re: note 8037 added to Variables | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-3093@lists.php.net to get a copy of this message | ||
s.j.eggen@phys.uu.nl wrote:
>
> Does anyone know if there is a cleaner way to see if a variable has been sent/set. The only way
> I know of is:
>
> ("".$variable == "")
>
> http://www.php.net/manual/language.variables.php
>
this place is called "manual annotations", not "manual questions"
you should try out one of the mailing lists under "support" next
time
anyway, i think what you want is just :
isset($variable)
http://www.php.net/manual/function.isset.php
--
Hartmut Holzgraefe
hartmut@six.de http://www.six.de +49-711-99091-77 fax:-99