The following is the core of my whole problem. I am sending a form in HTML to PHP using POST. The problem is the code I am using doesn't want to do this. I have partially corrected it by transfering the values from one array into another. My problem is I now need to post this new array "sku" to my php and as far as I know you need to use the attribute "name" for $_POST to pick it up.

Any ideas?

<script>

var sku = new Array();

for (q=1;q<parent.item_num;q++)
{
sku[q] = parent.itemlist[q].code;
}

</script>