Re: php-db globals turned off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux