Re: [HELP] redirect & pass variable !
| From: | pt8455568-14 | Date: | Wed, 01 May 2002 23:16:12 +0000 |
| Subject: | Re: [HELP] redirect & pass variable ! | ||
| References: | 1 | Groups: | php.lang |
| Request: | Send a blank email to php-lang+get-297@lists.php.net to get a copy of this message | ||
"Joe" <joeyan@ctimail3.com> wrote in message
news:20020422025234.4470.qmail@pb1.pair.com...
> I am using header function to redirect browser.
>
> { header("Location: http://www.XXX.edu/index.php");
> exit;}
>
> Although it can redirect the browser but variable had not pass to next
page.
>
> So can anyone teach me how to pass variable and redirect browser at same
> time?
<snip>
Say you want to pass the variable $name with the value 'Joe', use this :
header("Location: http://www.XXX.edu/index.php?name=Joe")
good luck
paradox.