Re: Webpage response to selection & $_POST
| From: | Ng Hwee Hwee | Date: | Tue, 31 Aug 2004 01:13:03 +0000 |
| Subject: | Re: Webpage response to selection & $_POST | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35954@lists.php.net to get a copy of this message | ||
hi...
to what i know, the $_POST variables get passed to apage.php only... if you
have a redirect to another page inside apage.php, the $_POST variables will
not be passed to the next page. you may need to register your $_POST as
session variables inside apage.php first or you append your $_POST variables
to your redirect string...
e.g. header('location: nextpage.php?var='$_POST) or something like that...
----- Original Message -----
> On Mon, 2004-08-30 at 11:02 -0500, Philip Thompson wrote:
> > Ok, quick question. Does the $_POST variable transfer the information
> > to all the pages? or just the page called in that <form
> > action="apage.php">? Because in my code I call a certain page, but then
> > that page merely redirects to another page, depending what selection
> > was made.