Form data reposting

A

Anonymous

Guest
you have to add values to the input tags

Code:
<input type="text" name="form_field" value="<?php if(isset($_POST['form_field'])) echo $_POST['form_field']; ?>">

that way if they did not do something required it will put all the information back into the form.
 
Back
Top