UberPooner Posted August 20, 2009 Report Share Posted August 20, 2009 Hi, I have a form that submits to a php script which checks if a name value is already in the table. if it is, input all data into table. If not, go back to form page with users information still there notifying them that the name is taken. I was wondering what I would need to do to have the users values be in the textfields when they get re-directed to the form page. Would session variables help me here? What do you think?thank you. Link to comment Share on other sites More sharing options...
Synook Posted August 20, 2009 Report Share Posted August 20, 2009 (edited) You could have the processing ('checking') code on the same page as the form, and then just re-display the form with the fields filled in if the data is incorrect. Edited August 20, 2009 by Synook Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now