El sáb, 23-02-2002 a las 01:56, jtjohnston escribió:
> What's the difference between
> if (isset($submit_happening))
> and
> if $submit_happening)

if (isset($var))  evaluates whether $var exists or not
if ($var) evaluates de value of $var

$var = 1;
if(isset($var))  -->  TRUE
if($var)         -->  TRUE

---===(O)===---

$var = 0;
if(isset($var))  -->  TRUE
if($var)         -->  FALSE


William


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to