RE: [PHP-WIN] Form Method Get ->php script
| From: | Ignatius Teo | Date: | Thu, 16 Nov 2000 05:38:45 +0000 |
| Subject: | RE: [PHP-WIN] Form Method Get ->php script | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3885@lists.php.net to get a copy of this message | ||
Try echo $question and see what happens. (You need to have track_vars=On in php3.ini if using php3
or have register_globals=On in php.ini if using php4)
Ignatius
> -----Original Message-----
> From: Andrew V. Romero [mailto:Rom22ero@pharmacy.arizona.edu]
> Sent: Thursday, 16 November 2000 16:29
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Form Method Get ->php script
>
>
> Lately I have been trying to learn how the form method get works and
> have figured out how to get a variable added to URL, but I can not
> figure out how then to get that variable (that is now part of the URL)
> into a variable for a php script. I searched several
> tutorial sites but
> didn't find anything (or maybe I am just slow...). Just as an example
> lets say that my URL after getting some form data appended to it is
> http://www.u.arizona.edu/~avr/admin1.php3?question=5. How do I
> make a
> perl script that has the variable question equal to 5?
> Thanks for any help
> If you want to reply personally, remove all numbers from my address.
> -Andrew Romero
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>