Get Mysql data in to text field
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.