RE: [PHP] Loop through POST-result

2002-09-19 Thread John Holmes
> 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 in > this field. > > Like this: > array('firstname' => 'fname', 'lastnam

[PHP] Loop through POST-result

2002-09-18 Thread Michelle
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 in this field. Like this: array('firstname' => 'fname', 'lastname' => 'lname'); T