Re: Accepting data from URL Parameters
| From: | David Robley | Date: | Wed, 24 Sep 2003 15:06:14 +0000 |
| Subject: | Re: Accepting data from URL Parameters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163758@lists.php.net to get a copy of this message | ||
In article <Pine.LNX.4.21.0309241037390.2263-
100000@jaredsroom.msns.sm.ptd.net>, steckelj@jaredsroom.com says...
> I appologize for what may be a newbie-like request, but I have not been
> able to find this information in the PHP documentation.
>
> If I were to have a link on an HTML page such as the following:
>
>
> http://www.foo.com/myscripts/myscript.php?Value1=value&Value2=value
>
> How can I retrieve those values in the script? Should I construct the
> link differently? Is there a completely different method I'm missing
> altogether?
>
> Thanks so much in advance for any help you could provide!
>
> Jared
Each of those values will be available as $_GET{'Value1'} $_GET{'Value2'}
etcetera. Note that the variable names are case sensitive.
--
Quod subigo farinam
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet?