passing variable to new page

i have this code in a form, i need to pass a variable $time to next page, how can i do that ?

	if( $sErr ) print "<script language='javascript' type='text/javascript'>location.href='#error';</script>";;; 

else:

 print "<script language='javascript' type='text/javascript'>location.href='paypall.php';</script>";;;

Something like this:
[php]print “";[/php]

Hi, thnx for the reply

Not working

it redirects to paypall.php?time= instead of paypall.php?time=value

$time echos fine so there’s no prob with variable.

HI,
[php]
$time = time();
print “";
[/php]

That Worked

Thanks a lot

Sponsor our Newsletter | Privacy Policy | Terms of Service