> I would like to get all the data from a POST-result into an array.
> Is there a function like that adds all the vars from the post into an
> array
> where Key is the name of the form-field and Value is the value entered
> this field.
> Like this:
> array('firstname' => 'fname', 'lastname' => 'lname');

Are you serious?

Take a look at the $HTTP_POST_VAR or $_POST array, which, amazingly, is
an array that holds your form data, with the key is the name of the form
field and the value is the value of the form element....

---John Holmes...

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

Reply via email to