Re: Passing variables
| From: | Richard Davey | Date: | Fri, 23 Apr 2004 00:26:04 +0000 |
| Subject: | Re: Passing variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184324@lists.php.net to get a copy of this message | ||
Hello Dani,
Friday, April 23, 2004, 1:14:28 AM, you wrote:
D> header("Location: ins_02.php?te_es_n_id=$te_es_n_id");
D> $estabID = $_POST['te_es_n_id'];
D> What am I doing wrong?
If you are using a Header to redirect, the value comes in $_GET, not
$_POST.
$estabID = $_GET['te_es_n_id'];
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html