PHP and MySQL selection.?

Nik

New member
Basically I have a register script but I am stuck on allowing users to request their passwords if they forget them.

All passwords are encrypted but I will use PHP to generate a random number.

Anyway I have also added 2 security question to the registration form so when they forget their password they are asked these two questions.

My question is how do I pull these two questions and answers out of the Database but only for that user and echo them both. I have sessions set up if I need to use them.

Thanks for any help.
Ok how do I then go about echoing the questions IE pulling them into variables or echoing the result straight up.
 
Back
Top