I have two input textbox with the same name, when submiting the page I get only the value of the second textbox.
how can i get the value of both fields???
how can i get the value of both fields???
<input name="test[]" type="text" /> <input name="test[]" type="text" /> ... // then php can access them like $_POST['test'][0]; // first input $_POST['test'][1]; // second input
Comment