Tutorial on Re-filling form data?
| From: | leam hall | Date: | Thu, 22 Jun 2017 18:15:06 +0000 |
| Subject: | Tutorial on Re-filling form data? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-326116@lists.php.net to get a copy of this message | ||
Using PHP 5 and not OOP savvy.
I have a form that gives the user options. On submit it calls itself
and if the $_POST variable is set produces the result of the form
choices. However, it currently resets all the form options to default
values.
Is there a tutorial somewhere on how to keep the existing form choices
in place, unless the user changes the selection and resubmits?
Thanks!
Leam