VARIABLE and VALUE...two different things.
Jason Wong wrote:
On Thursday 06 February 2003 22:50, [EMAIL PROTECTED] wrote:<input> of type text are set regardless of whether you have entered anything. Thus isset() returns true.Actually, I believe it's not a matter of the input being set, but the fact that isset() returns true on an empty variable.
Try this:
<?php
if (isset($doo)) {
print '$doo is set'; // does not get printed
}
if (empty($doo)) {
print '$doo is empty'; // gets printed
} ?>
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php