I marked the other thread as resolved because I've made some progress towards getting the array I had hoped for and now just need help figuring out how to build the select menus based on the array below.
Basically, I want to create the following two select menus based on the array:
<select name="size">
<option value="X879">small / medium</option>
<option value="7ABC">small / large </option>
</select>
<select name="quantity">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
Array
(
[size] => Array
(
[X879] => Array
(
[0] => Array
(
[item_id] => 32
[value] => small
[id] => 2
[aid] => 10
)
[1] => Array
(
[item_id] => 32
[value] => medium
[id] => 2
[aid] => 14
)
)
[7ABC] => Array
(
[0] => Array
(
[item_id] => 32
[value] => small
[id] => 2
[aid] => 10
)
[1] => Array
(
[item_id] => 32
[value] => large
[id] => 2
[aid] => 130
)
)
)
[quantity] => Array
(
[options] => Array
(
[1] => Array
(
num => 1
)
[2] => Array
(
num => 2
)
[3] => Array
(
num => 3
)
)
)
)