make sure that the user is logged in/valid have him/her enter the new password (2 textboxes to make sure its right), test the values of the textboxes to make sure they match, then do an update statement (only updating the password field) and send it off to your database.
.. then do an update statement (only updating the password field) and send it off to your database...
And make sure you only allow your query to update 1 row, so you don't accidentally change all passwords. (Errors like that have actually killed people!)
Give as much detail as possible When you post a question or problem, express the situation clearly and concisely and include all relevant information, code used, data used, result expected, result achieved and any error codes or messages that you get as a result.
Comment