Hello,
I am making a web form. For some of the variables I need to use multidimensional arrays to capture user input. I have no problems when I use single arrays.
echo "Unit ID: <input type='text' name='unitIDHVT[$i][$j]' value='$unitIDHVT[$i][$j]'>";
Initially, I want the textbox to be blank. After submit is pressed, I want whatever value is inputted to remain. Like I said, this is working fine with all the other fields, some of which use 1 dimensional arrays.
When I test the form, the output in the offending text box is '[0]'. When I click 'submit', it switches to 'Array[0]'
I am oblivious to what is going on here. Appreciate any help. 😕