Re: Help - sending variable(s)
| From: | Jason Wong | Date: | Thu, 10 Jan 2002 13:35:51 +0000 |
| Subject: | Re: Help - sending variable(s) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-80026@lists.php.net to get a copy of this message | ||
On Friday 11 January 2002 00:21, Dani wrote:
> Hi!
>
> Could someone please help...????
> How do I send variable(s) over the url and I want to send it to the the
> same page (not opening a new page)
>
> Thank you very much for reviewing my email.
> Dani
http://www.mywebsite.com/mypage.php?myvariable1=value1&myvariable2=value2
In php:
echo "$PHP_SELF?myvariable1=$myvariable1&myvariable2=$myvariable2";
hth
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
"If Jesus came back today, and saw what was going on in his name, he'd never
stop throwing up."
-- Max Von Sydow's character in "Hannah and Her Sisters"
*/