Hello. For example, I have input:
<input name="arr[1][2]" value="a"> <input name="arr[1][3]" value="b"> <input name="arr[1][1]" value="c"> At the output, I get an array:
Array ( [1] => Array ( [2] => a [3] => b [1] => c ) ) And how do I set the position of these values? Here is if I received the input as described above, and the array should be formed:
Array ( [1] => Array ( [1] => c [2] => a [3] => b ) ) I tried asort, ksort, etc., but it does not work ...