dump $_POST into variables????
| From: | Joe Harman | Date: | Fri, 11 Jul 2003 05:01:43 +0000 |
| Subject: | dump $_POST into variables???? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-154826@lists.php.net to get a copy of this message | ||
Okay, curious if there is an easier way to do this... here is what I do
<?php
$ZipCode = $_POST['zip'];
$Distance = $_POST['distance'];
?>
can't I just dump these into an array and and assign it to a variable...
maybe that doesn't make sense... basically I just want to have one
command that retrives all the "POST" variables... then list my variables
ie $ZipCode, $Distance, $Blah - have them dump in to each!!!
thanks
Joe Harman
http://www.HarmanMedia.com
You will never be happy if you continue to search for what happiness
consists of. You will never live if you are looking for the meaning of
life. - Albert Camus