: i know that retrieving a particular character from a string and retrieving a particular record from an array has the same syntax in PHP. when i build an array like this -
:
: $n = 1;
: while ($n != 10) {
: $time[$n] = time * $n;
: $n += 1;
: }
: echo $time[1];
:
: how can i ensure that i am retrieving the first record from the array $time, not the second character from $time[1]?
:
: thanks.
:
if(is_array($time)) {
echo $time[1];
}else {
echo "Error...";
}

-mac-
mailto:mac_doggie@hotmail.com
the Netherlands...