Re: processing html forms and keeping the values
| From: | tedd | Date: | Tue, 24 Nov 2009 17:36:20 +0000 |
| Subject: | Re: processing html forms and keeping the values | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-300073@lists.php.net to get a copy of this message | ||
At 6:14 PM +0100 11/24/09, 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, MerlinMerlin: Hint -- look at $_SESSION[] Here's an example, http://webbytedd.com/b1/simple-session/ Just enter "guest" and you'll see the code that makes it work. In this case, it's just storing 1 in $_SESSIN['ok'], but you can have as many session variables as you want. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com