Re: HTML form variables
| From: | Diego Pérez Rández | Date: | Tue, 12 Sep 2000 01:38:53 +0000 |
| Subject: | Re: HTML form variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-16265@lists.php.net to get a copy of this message | ||
Hello:
Try with this code:
while (list ($key, $val) = each ($HTTP_POST_VARS)) {
echo "$key => $val<br>";
}
I hope that it works.
Best regards, Diego
Mike escribió:
> Hello,
>
> In php 4.0.2 I have variables some as names of input fields in html form.
> for example <input type="text" name="name"> in php 4.0.2 reflects as
> $name.
> In php 4.0.0 it's doesn't work... Why?
> Is my php 4.0.0 missconfigured or it's a future of php 4.0.2?
> How can I get variables from html in php 4.0.0?
>
> Thanks for any help,
> Mike
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net