Not sure of my error
| From: | Jerry Lake | Date: | Sat, 18 Nov 2000 00:11:17 +0000 |
| Subject: | Not sure of my error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-25979@lists.php.net to get a copy of this message | ||
For some reason the code below
always returns as true even if
there State == "whatever" It looks
correct to me, but apparently isn't.
<?
if ($state == "");
{
echo "<div align=center>";
echo "$state";
echo "<h3>Please enter a state name</h3>";
echo "</div>";
exit;
}
else
{
stuff
}
?>
Jerry Lake