im working on a password verification(php) form when the user
wants to change his/her password.
new password will be typed twice for confirmation.
if the passwords didn't match, a message box will appear (javascript).
it already worked but my problem is when that message box appears,
all the other fields in the form other than the password field becomes blank.
those fields came from a query which is done upon loging in based on
a field from the previous form.
i think after that message box appear, the result of the query becomes 0.
any help will be appreciated.
thanks in advance!