Re: php-db globals turned off

From: Date: Tue, 27 Jan 2004 19:47:00 +0000
Subject: Re: php-db globals turned off
Groups: php.db 
Request: Send a blank email to php-db+get-32655@lists.php.net to get a copy of this message
So it will be easier to use in my script on this page, where I'm creating several query strings with the data. Mignon Hunter Webmaster Toshiba International Corporation (713) 466-0277 x 3461 (800) 466-0277 x 3461 >>> "John W. Holmes" <holmes072000@charter.net> 01/28/04 01:15PM >>> >>> 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

« previous php.db (#32655) next »