I know this is simple but I am not sure what is wrong,
I am trying to implement a password field, but when I reference it in the resulting page from the form the password variable is empty. Does anyone know why?
The password code for page one
<code>
<input type="password" name"password">
</code>
page2 this is where I use the "$password" variable from the form however the password is empty? also the other variable $Forname_Drop returns the correct value from the form, does anyone know my error?
<code>
if($Forname_Drop==$PasswordCells[0])
{
if($password==$PasswordCells[1])
{
echo "Password & Name Correct";?><br><?php
}
else
{
echo "Name Correct & Password InCorrect";?><br><?php
}
}
else
{
echo "Name InCorrect"; ?><br><?php
}
</code>
I am trying to implement a password field, but when I reference it in the resulting page from the form the password variable is empty. Does anyone know why?
The password code for page one
<code>
<input type="password" name"password">
</code>
page2 this is where I use the "$password" variable from the form however the password is empty? also the other variable $Forname_Drop returns the correct value from the form, does anyone know my error?
<code>
if($Forname_Drop==$PasswordCells[0])
{
if($password==$PasswordCells[1])
{
echo "Password & Name Correct";?><br><?php
}
else
{
echo "Name Correct & Password InCorrect";?><br><?php
}
}
else
{
echo "Name InCorrect"; ?><br><?php
}
</code>