I am creating an e-commerce site and am working on the customer profile.
If a customer forgets their password I have an html form that they can enter their email address into. I then have a php form that I would like to check the database for the entered email and if it exists I need to send the customer an email with their password in it.
I have the connection to the database, I just do not know how to send an email that queries the password field in the database.
If a customer forgets their password I have an html form that they can enter their email address into. I then have a php form that I would like to check the database for the entered email and if it exists I need to send the customer an email with their password in it.
I have the connection to the database, I just do not know how to send an email that queries the password field in the database.