"Persistent" Form Information

  • Thread starter Thread starter skip0110
  • 2 comments
  • 430 views
Messages
5,178
United States
Worcester, MA
Messages
skip0110
I have a HTML form which is processed by PHP and spit into a mySQL database.

I do validation on form information, but if one form element fails validation, I'd like the others to remain filled in when the form reloads.

Google showed some complicated DHTML solutions. What is the easiest way to make this work?
 
you can add:

Code:
<input type="text" value="<?php echo $_POST['your_input_name']; ?>" name="your_input_name" />
Hope this helps.
 
Back