|
Hi - I'm looking for help in getting all form fields from a html form, not just those fields preceding a submit button click.
I have a form which has multiple submit buttons located throught the form. For exampe, it might reside in the middle of the form, again a lines later, and again a few lines later.
When I do a
while(list($key, $value) = each($HTTP_GET_VARS) )
I get the $key/$value pairs for everything up to an including the submit button. However, I can see from the browser location bar that ALL forms args are being submitted, not just the ones up to a submit button which might be located, for example, halfway thru my list of fields.
I'm looking for help with capturing each and every $key/$valuepair, not a truncated version. And I want these in an array, preferable two arrays, one called $keyarray, and one called $valluearray.
Thanks in advance :-)
|