RE: [PHP] Passing variables to another page - newbie
| From: | Jason Murray | Date: | Mon, 07 May 2001 01:06:19 +0000 |
| Subject: | RE: [PHP] Passing variables to another page - newbie | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51679@lists.php.net to get a copy of this message | ||
> Thanks to everyone for the help - unfortunately my problem
> seems to be the function I'm using to do the redirecting. header() is
> supposed to be the first item passed. What I'm trying to do is use a line
of
> code well down into the logic of my script to redirect the user to another
> page along with the necessary variables.
Rather than echo or print every line out, append them to an
output buffer / variable, and echo it at the end of the script.
This lets you do a Header() anywhere you need to do it.
Jason