I'm trying to figure out how to do this:
Someone logs into a form using a personalized code that's entered into a MySQL field, they then fill out a form and submit their answers, which adds that code to another field.
I want to be able to tell my page to check the second field, and if the number exists (meaning they've already filled out the form), to redirect them to a page informing them of this.
Basically, 2 fields. One has a number already, the second gets the number after the user submits info. Bar user from reeentering information again.
Any idea?
Someone logs into a form using a personalized code that's entered into a MySQL field, they then fill out a form and submit their answers, which adds that code to another field.
I want to be able to tell my page to check the second field, and if the number exists (meaning they've already filled out the form), to redirect them to a page informing them of this.
Basically, 2 fields. One has a number already, the second gets the number after the user submits info. Bar user from reeentering information again.
Any idea?