Create a form with password recovery

Create a form with password recovery

Hi, I have this situation, In my DB I have a table with users and password, I would like to create a form where, when a user loses his pass he would be able to recover it without sending an e-mai to me, how can I do that? welcome all suggests, thanks a lot :)