Here is the form ('test.php')
<form action="login-test.php" method="post">
Name: <input type="Text" name="<?php $POST['login_name']; ?>" size="25">
Password: <input type="Password" name="<?php $POST['login_password']; ?>" size="25">
<input type="submit" name="<?php $_POST['submit']='submit'; ?>" value="submit">
</form>
Here is the validation page ('login-test.php')
<?php
if ($submit)
{
echo "got the login info";
} else {
echo "no login info";
}
?>
This was working fine. What is going on? Am i losing my mind?
I tried to submit the above without <?php ?> tags - not go, tried to echo them, no go - I'm just not familiar with the whole GPC thing. What are your thoughts?