Posted by JDS on 11/04/05 17:53
On Thu, 03 Nov 2005 14:58:58 -0500, Parrot wrote:
> Your example doesn't give an example of creating a 2D array and I don't
> see any variable names in your return statement. Could you please expand
> on that?
Yes, it does. A 2D array is just an array inside an array. I just
created an empty example.
$twodary = array(array());
There it is. The simplest 2D array.
Look at it like this:
$twodary[0] == array()
and
$twodary[0][0] == null
That is 2 dimensions.
--
JDS | jeffrey@example.invalid
| http://www.newtnotes.com
DJMBS | http://newtnotes.com/doctor-jeff-master-brainsurgeon/
Navigation:
[Reply to this message]
|