Log in

View Full Version : Get Mysql data in to text field on mail form



PatrikIden
11-23-2011, 02:01 PM
Hi, i have in my DB a field that is named "Idkod".
And on my Website i have a Regisration form (Only a mail form, but when submitted this mailform creats a Idkod (10 digits).
And also on my Webpage i have a anwering mailform and in this mailform i whant a textfiled whare the reg,user have to enter the 10 didgit Idkod they recived on regisration, and i also whant when clicking submit the mailform to check the DB if that Idkod is in the DB, if so than redirect to thankyou page, if not then redirect to error page.

Thank you.

/Patrik.

fobos
12-14-2011, 04:19 PM
*Tip... Post your code so we can help. We cannot help blindly.