This is easy, but I can't figure it out....a couple things. First, I have a connection with one of my databases that I am using to allow my users to change their password. I want to be able to have them confirm their password just to be sure they typed it in correctly. I have seen different ways of doing this but I just want a simple comparison. Secondly, I have it set up where they have to enter their old password, just to be sure. If the old password doesn't match the one in the database, it won't update. I want it to prompt them that they have made an error, and instead of going to the confirmation page, prompt them what their error was.

Thanks in advance