I am trying to build an array that I use for drop-down boxes & navigation
It works fine for any value of 0->0->n->n->
socks->size1->cotton->red
0->0>->0->0
However, the problem arises with value x, the x value always writes to position 0. I have confirmed this by retreiving values from the array using;
echo ".$var[$var[$var[0]][0]][0]. " and
echo ".$var[$var[$var[0]][0]][1]. "
They both echo the same value "Nylon"..
0->0->x->n
level0--
level1--
level2
level3--
socks-0
size1-0
cotton-0
red-1
blue-2
nylon-1
red-0
blue-1
green-2
size2-1
cotton-0
red-1
blue-2
Shoes-0