Hi
Can anyone see any reason why the following isn't working
I have one script cotaining my form
Password.php4
echo ("<form action= check_password.php4 method=post>");
echo "<br><br><center><table>";
echo "<tr><td align = right><h4>Old Password</td><td><input type = text name = first></td></tr>
<tr><td align = right><h4>New Password</td><td><input type = text name = second</td></tr>
<tr><td align = right><h4>Confirm New Password</td><td><input type = text name = third</td></tr>
<tr><td></td><td><input type=submit name=submit><td></tr>";
and then on my call script I have,
Check_password.php4
if ($second==$third) {
echo "the same";
}else{
echo "not the same";
}
No matter what I type into text boxes second and third, the result is always the same. Can anyone see any reason for this.
Thanks in advance for any help
Cheers
Chris