|
Posted by David T. Ashley on 07/25/06 16:11
"Erwin Moller"
<since_humans_read_this_I_am_spammed_too_much@spamyourself.com> wrote in
message news:44c5d84f$0$31653$e4fe514c@news.xs4all.nl...
> David T. Ashley wrote:
>>
>> It seems there is no syntax like $x[i][j][k]???
>
> Yes there is.
OK, all questions answered, thanks. In the online documentation, it seemed
to suggest that only way to generate a multi-dimensional array was something
like:
$sub1 = array("apples", "oranges", "bananas", 2*82, 3.1415);
$sub2 = array(24, 57, 91);
$array[0] = $sub1;
$array[1] = $sub2;
This will work, but is awkward.
So, if then
echo $array[0][1];
will give "oranges", then I'm happy.
The syntax is there in the language. Thanks.
[Back to original message]
|