Tuesday, 21 February 2012

Q: What is isset ();?


issetDetermine if a variable is set and is not NULL
$var '';

// This will evaluate to TRUE so the text will be printed.
if (isset($var)) {
    echo 
"This var is set so I will print.";
}

No comments:

Post a Comment