I have the following and get the error:
Parse error: syntax error, unexpected T_IF in C:\ on line 82
I know I can verify the IDNumber, but now when I'm trying to also validate the password the user enters, I get the syntax error above.
<?PHP
if (isset($_POST['IDnumber'])) {
$IDFound = "This is a valid Number";
$IDNotFound = "This is not a valid Number";
$Password = "TestPwd"
If ($totalRows_Recordset2==1 AND $_POST['Password']==$Password)
{echo $IDFound;}
Else
{echo $IDNotFound;}
}
?>
Parse error: syntax error, unexpected T_IF in C:\ on line 82
I know I can verify the IDNumber, but now when I'm trying to also validate the password the user enters, I get the syntax error above.
<?PHP
if (isset($_POST['IDnumber'])) {
$IDFound = "This is a valid Number";
$IDNotFound = "This is not a valid Number";
$Password = "TestPwd"
If ($totalRows_Recordset2==1 AND $_POST['Password']==$Password)
{echo $IDFound;}
Else
{echo $IDNotFound;}
}
?>