|
Posted by Chung Leong on 07/25/06 02:48
David T. Ashley wrote:
> Hi,
>
> Aside from the obvious recursive syntax for initialization,
>
> $x = array( ... array( ...)),
>
> what is the best way to deal with multi-dimensional arrays in PHP?
>
> It seems there is no syntax like $x[i][j][k]???
>
> Thanks, Dave.
What exactly are you trying to do?
The following is perfectly legal syntax:
<?php
$x[0][1][17] = "Something";
$x[0][34][11] = "Something else";
?>
Navigation:
[Reply to this message]
|