Is the order of INPUTS in a POST guaranteed for array inputs in PHP?
问题 I have a form where users enter an unbounded number of rows of data. They arrive at the form by entering whatever number of rows on the screen that they desire. <?php $numRows = $_GET['NUM_ROWS_REQUESTED']; ?> <form method="post"> <?php for($i = 0; $i < $numRows ;$i++) { $uuid = uniqid(); ?> <input type="text" name="MYDATA[<?php print $uuid; ?>][FIRST_NAME]" /> <input type="text" name="MYDATA[<?php print $uuid; ?>][LAST_NAME]" /> <?php } ?> </form> I'm wondering if, when the form is posted