Hi all,
I am facing problem in reading the Form variables which are duplicated.
Hi all,
I am facing problem in reading the duplicate form variables in HTTP_POST_VARS .
<form method=post>
<input type=text name=mybox value=one>
<input type=text name=mybox value=two>
<input type=submit name=submit value=submit>
</form>
When i tried to read the post variables of Form using
$HTTP_POST_VARS, i am not getting all the form variables and it's values. But i am getting the last updated value of the form
I am getting the output like,
key - > mybox
value -> two
I think , since the form variable is having the same name values are over written.
I don't want to give dynamic name or array for the form variables.
is there any way to capture the key and value pair of the post variables as it is(what we sent is what we get).
Thanks in advance.
regards
Majeed A.H