Re: php-db globals turned off
| From: | John W. Holmes | Date: | Wed, 28 Jan 2004 19:15:05 +0000 |
| Subject: | Re: php-db globals turned off | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32653@lists.php.net to get a copy of this message | ||
Mignon Hunter wrote:
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'];Why are you recreating variables? You already have a variable $_POST['email'], so why do you feel the need to make $email? Now you have two variables to keep track of. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com