WHY will this not work
| From: | Brian V Bonini | Date: | Mon, 12 May 2003 22:36:23 +0000 |
| Subject: | WHY will this not work | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-147359@lists.php.net to get a copy of this message | ||
if (isset($admin)) {
echo "<FORM METHOD=\"POST\" ACTION=\"$PHP_SELF\">";
echo "Enter your Name: <input type=\"text\" name=\"name\">";
echo "<input type=\"SUBMIT\" value=\"Submit\">";
echo"</FORM>";
}
if(isset($_POST['Submit'])) {
session_start();
header("Cache-control: private");// IE 6 Fix.
echo "success";
}
When I hit the SUBMIT button if(isset($_POST['Submit'])) should evaluate
as true right? What am I missing....