Re: [PHP4]: Problem with Form not putting Data in Post Request
| From: | Rasmus Lerdorf | Date: | Mon, 25 Jul 2005 23:47:05 +0000 |
| Subject: | Re: [PHP4]: Problem with Form not putting Data in Post Request | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219319@lists.php.net to get a copy of this message | ||
maddog1169 wrote:
> The one that does not get accepted is
>
> <Group>
>
> including the "<>"
You have something like this?
<input type=text name="<Group>" />
It should work. Make sure you have quotes around it, of course, or
weird stuff will happen.
Try something like this:
<form action="f.php" method="POST">
<input type=text name="<Group>" />
</form>
<?php phpinfo() ?>
Type something in the form field and hit return and then scroll down and
look at the $_REQUEST and $_POST variables.
-Rasmus