Hi all,
I have a slightly large form with 73 fields (don't ask) that I am posting to a php script which takes the POSTed information and stores it within a DB.
No probs there, well, no probs getting the form data anyway using the $HTTP_POST_VARS predefined var.
I can handle the rest of the code with regards to storing the data in the DB. What I need to know is if anyone knows a way of returning the actual field name or id within the POSTed results.
i.e. with a form field like: <input type="text" name="test1" id ="test1" value="sometext">
$HTTP_POST_VARS would contain the value of sometext but there is no way (that I know of) of identifying which field this data originated from, and as I'm sure you can appreciate, 73 fields is a hell of a lot of data to try and sort.
Appreciate any help anyone could offer.