Posted by Lee David on 06/15/05 14:08
The echo shows both the form entered password and the database one. I put
them in quotes so I can see if there is any trailing blanks or non-print
characters and they look the same. What I get is the page redisplaying
itself. For some reason I don't understand, the post action doesn't seem to
happen and the test against the POST variable always fails. When it did
work was when I uncommented the testing echo. Then that test does work (or
you wouldn't be able to see the echo which is inside of the POST if
condition), but I don't know why.
Doesn't seem logical that the line 2 test works when there is an echo on
line 29 and doesn't if there isn't. No wonder my hair is white.
Any ideas will be greatly appreciated.
Lee
[Back to original message]
|