I searched for stuff relevant to my problem but was unable to find anything detailed enough or specific to my problem.
Basically, I've got a form that has a group of select boxes that are used to generate 4 2D arrays filled with various basic data.
In the end I've got arrays such as:
addgroup[0][0]
they're made from the javascript and the form itself is ONLY used to generate these values, when the form is posted the values it has are irrelevant.
I need my php script to have access to these 2D arrays.
So how do I get the form to send the arrays, and the php script to read and display them.
I'm thinking something like
<input type="hidden" name="addgrouparray">
and then onSubmit
javascript:
document.frmadd.addgrouparray.value = addgroup;
where addgroup is the 2D array.
Then in php I've read things like use $_POST['addgrouparray'][0][0] etc for the values... doesn't seem to work... any help with getting these variables would be greatly appreciated.
Thanx a Heap!
(and please, constructive posts, no "I dont knows" and "search the boards" replies... thanx _)