I'm trying to make an .php file read an array, but I also want to assign an id for each value in Vector.
Ess is the html
<form method='GET'>
<input type="hidden" name="idArray[]" value="1" />
<input type="hidden" name="idArray[]" value="2" />
</form>
in php
$id1 = $GET[''];
This is where I get lost because I do not know how to put the array inside the GET, I looked in some forums and tried the ways they were done, but I did not succeed.