Re: Keeping form fields populated
| From: | Steve Keller | Date: | Thu, 15 May 2003 18:28:35 +0000 |
| Subject: | Re: Keeping form fields populated | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-147757@lists.php.net to get a copy of this message | ||
At 5/15/2003 02:15 PM, Brian V Bonini wrote:
Is there a way to keep form fields populated after a user submits a form via straight HTML or do I need to do this with PHP.What do you mean "via straight HTML" ? You have to feed it back to the browser somehow. You can just echo the posted values in your forms. <input type="text" name="myVariable" value="<? echo $_POST['myVariable']; ?>"> -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: skeller@healthtvchannel.org Web: www.healthtvchannel.org