On Friday 11 July 2003 13:01, Joe Harman wrote:
> 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!!!

extract()

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
I THINK THEY SHOULD CONTINUE the policy of not giving a Nobel Prize for
paneling.
                -- Jack Handley, The New Mexican, 1988.
*/


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

Reply via email to