Hi guys! I don't know why but this php code outputs me the array wrong...
<?php
$options = array
(
01 => 'adam',
02 => 'betty',
03 => 'charles',
04 => 'denise',
05 => 'eric',
06 => 'adam',
07 => 'betty',
08 => 'charles',
09 => 'denise',
10 => 'eric'
);
foreach ($options as $index => $value)
{
echo $index . "<br>";
}
?>
It outputs...
But why?? What does it mean?? First of all there are 9 numbers not 10 and second of all it shows 0 after 7 not 8 and 9 is missing as well..? What have i made wrong?? Please help!!