well all of the entries are passed via post or get to your form handler
(obviously).  So just pass them back when you re-call the form.

then put in

<input type="text" name="firstname" value="<?=$firstname?>"> in the form

or something like that anyway.

- seb

-----Original Message-----
From: Chip Landwehr [mailto:[EMAIL PROTECTED]]
Sent: 21 October 2001 20:49
To: [EMAIL PROTECTED]
Subject: [PHP] Form Question


I got a form that a user fills out.  When they hit submit they are
transfered to a PHP page that verifies their data.  If a problem is found
(They forgot to enter an e-mail address) the PHP sends them back to the
original form with the field they forgot to fill out highlighted in red.
Unfortunately all there entries are wiped out and they have to re-enter
everything.  Any easy way to keep there original entries?




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.282 / Virus Database: 150 - Release Date: 25/09/2001

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.282 / Virus Database: 150 - Release Date: 25/09/2001


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to