Menu
I have 2 arrays that I’m putting into one called, $umbrellaArray:
[code=php]$o++; $d++;
$orderArray[$o] = $q2_order;
$descriptionArray[$d] = $q2_description;
$umbrellaArray = array();
for ($i = 0; $i < count($orderArray); ++$i) {
if ($i > 0) {$umbrellaArray[$orderArray[$i]] = $descriptionArray[$i];}
}
The problem is that count($orderArray) = 9 but doing a foreach construct on $umbrellaArray prints only 8 values.
Thanks in advance.