Re: [HELP] redirect & pass variable !

[email protected] ("pt8455568-14") Thu, 2 May 2002 04:46:12 +0530
Newsgroups php.lang
Message-ID <[email protected]>
"Joe" <[email protected]> wrote in message
news:[email protected]...
> 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.