Re: if(isset($a)) vs if($a)
| From: | Martín Marqués | Date: | Fri, 14 Sep 2001 22:03:23 +0000 |
| Subject: | Re: if(isset($a)) vs if($a) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67415@lists.php.net to get a copy of this message | ||
On Vie 14 Sep 2001 19:04, David Yee wrote:
> Hi. What is the difference between:
>
> if(isset($a))
>
> and
>
> if($a)
example 1:
$a=0;
if($a) <- this is false
if(isset($a)) <- this is true
Example 2:
do the same with $a=false;
Saludos... :-)
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques@unl.edu.ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------