Jump to content

Back To Page After Validation Fial.


UberPooner

Recommended Posts

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

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...