Re: processing html forms and keeping the values
| From: | Shawn McKenzie | Date: | Tue, 24 Nov 2009 17:30:41 +0000 |
| Subject: | Re: processing html forms and keeping the values | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300071@lists.php.net to get a copy of this message | ||
Merlin Morgenstern wrote:
> Hi there,
>
> I am trying to redirect a user back to a html form if a validation
> failes. The form shoult then hold all entered values. So far I did this
> over $_GET, but there is a 100 Character limitation. How could I do this
> while keeping all characters?
>
> Thank you for any hint,
>
> Merlin
No need to POST and then redirect, just POST the form to itself. If
validation fails redisplay the form using the $_POST array.
--
Thanks!
-Shawn
http://www.spidean.com