Form data reposting

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
User avatar
Posts: 830
Joined: Tue Jan 21, 2003 10:42 pm
Location: Michigan USA

Post by Redcircle » Wed Feb 05, 2003 4:39 pm

you have to add values to the input tags

Code: Select all

<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.

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests