Ok lets see here, this is how I would do it.
First build your 2 dimensional array. For this example it will be array[dim1_0][dim2_0]=0 array[dim1_1][dim2_1]=1 and array[dim2_2][dim2_2]=2
Output the form info first.
echo "<form name=form1 method=post action=next_page.php>";
Output the text elements, you would probably do this in some form of a loop, for or foreach, for simplicity I do not do that.
echo "<input type=text name=\"array[dim1_0][dim2_0]\" value=\" . $array[dim1_0][dim2_0] . "\"> zero element<br>";
echo "<input type=text name=\"array[dim1_1][dim2_1]\" value=\" . $array[dim1_1][dim2_1] . "\"> one element<br>";
echo "<input type=text name=\"array[dim1_2][dim2_2]\" value=\" . $array[dim1_2][dim2_2] . "\"> two element<br>";
echo "<input typ=submit value=\"submit\"></form>";
When you submit you will have the array value to use. Try using the function var_dump($array) on that page to see what the structure and values of the array are.
Hopefully this will help you out.
As a side note be carefull with sessioning, if you do not control the registering and unregistering of the variables closly, variables can wind up not being set properly for a user. Sessioning is a great tool to use, it has become my best friend, but at the cost of being my enemy until I spent the time to consider all use and error states of a page using sessioning.
Jeff