Re: Re: $_GET and $_POST arrays not working
| From: | Andy Pieters | Date: | Sat, 26 Nov 2005 09:04:37 +0000 |
| Subject: | Re: Re: $_GET and $_POST arrays not working | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226464@lists.php.net to get a copy of this message | ||
On Saturday 26 November 2005 02:45, John Nichel wrote:
> If you have a form like this one one page...
>
> <form action="page2.php" method="post">
> <input type="hidden" name="foo" value="bar" />
> <input type="submit" />
> </form>
>
[snip]
Dear John
Please go all the way when providing an example. To prevent errors and
unpredictable behaviour, ALWAYS add encoding to the form tag.
<form action="page2.php" method="post"
enctype="multipart/form-data"
name="form1">
Systematically adding names on all your forms may save you many hours of hair
plucking as well ;)
With kind regards
Andy
--
Now listening to Top! Radio Live www.topradio.be/stream on amaroK
Geek code: www.vlaamse-kern.com/geek
Registered Linux User No 379093
If life was for sale, what would be its price?
www.vlaamse-kern.com/sas/ for free php utilities
--
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]