On Tue, 23 Sep 2003 18:01:52 +0000, Duane Phillips wrote:
[color=blue]
> How do I write a hyperlink that also passes a value to the destination
> php page?
>
> Thanks in advance.
>
> ~Duane.[/color]
This will pass an HTTP GET query to the server. Everything after the
question mark is the query, and is "seen" by PHP in the following ways:
* As the $_SERVER["QUERY_STRI NG"] variable
* As part of the $_SERVER["REQUEST_UR I"] variable
* As part of the _SERVER["argv"] variable
* And in the $_GET and $_REQUEST and variables
Also, if register_global s is ON, the variables $var1 and $var2 will be
created.
I guess this is what you were asking...
--
Jeffrey D. Silverman | jeffrey AT jhu DOT edu
Johns Hopkins University | Baltimore, MD
Website | http://www.wse.jhu.edu/newtnotes/
"Jeffrey Silverman" <jeffrey@jhu.ed u> wrote in message
news:pan.2003.0 9.23.18.10.50.3 9293@jhu.edu...[color=blue]
> On Tue, 23 Sep 2003 18:01:52 +0000, Duane Phillips wrote:
>
>
> I guess this is what you were asking...
>[/color]
<some snippage>
WOW that was a fast reply. Yes, exactly what I was after. I couldn't seem
to remember the construct of the href, nor how to find the value in the next
page... been a long time since I used it, and I couldn't remember where I
used it... lol.
On Tue, 23 Sep 2003 18:19:17 +0000, Duane Phillips wrote:
[color=blue]
>
> "Jeffrey Silverman" <jeffrey@jhu.ed u> wrote in message
> news:pan.2003.0 9.23.18.10.50.3 9293@jhu.edu...[color=green]
>> On Tue, 23 Sep 2003 18:01:52 +0000, Duane Phillips wrote:
>>
>>
>> I guess this is what you were asking...
>>[/color]
> <some snippage>
>
> WOW that was a fast reply.[/color]
<snip!>
They call me Mr Speedy!
well, actually, they don't.
--
Jeffrey D. Silverman | jeffrey AT jhu DOT edu
Johns Hopkins University | Baltimore, MD
Website | http://www.wse.jhu.edu/newtnotes/
Comment