php-db globals turned off
| From: | Mignon Hunter | Date: | Tue, 27 Jan 2004 18:55:35 +0000 |
| Subject: | php-db globals turned off | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-32646@lists.php.net to get a copy of this message | ||
How do most of you handle variables in next page after passing.
For instance. What I have right now (very ugly) is:
$email = $_POST['emal'];
$first = $_POST['first'];
$lastl = $_POST['last'];
Then I work with $email, $first etc...
I will have to do this for many, many variables which doesnt seem very efficient.
I tried:
foreach ($_POST as $key => $value)
$key = $value;
but that didnt work...but I can print them out.
but even if this did work - this wouldnt handle the 2 sets of arrays I have.
Does anybody have any snippets for this ... ???
Thanks
Mignon Hunter
Webmaster
Toshiba International Corporation
(713) 466-0277 x 3461
(800) 466-0277 x 3461