Quote:
Originally Posted by Colmike7
Because a null character is not the same as a php null constant.. So it's set.
Didn't test it, though..
|
<?php
$var;
if(empty($var)) {
echo "This is empty<br>";
}
if(isset($var)) {
echo "This is set<br>";
}
echo "<br>Now you got it";
?>