How do YOU initialize the form variables?
| From: | info at phpyellow dot com | Date: | Thu, 31 May 2007 17:57:44 +0000 |
| Subject: | How do YOU initialize the form variables? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-255916@lists.php.net to get a copy of this message | ||
Hello,
If I have an HTML form with input, example:
username
lastname
mobile
.. and so on ...
Example simple initialization:
// POST
$username = $_POST['username'];
$lastname = $_POST['lastname'];
$mobile = $_POST['mobile'];
What is the most popular method for making PHP initialize the many variables on that form? I'm
looking to get an understanding of 95% of the possible ways developers are initializing their php
variables from a form post. How do YOU initialize the form variables?
If you prefer to post your reply direct to info @ phpyellow.com instead of this list, or both, I am
happy to receive your comment.
Sincerely,
Rob
http://phpyellow.com