note 43385 added to language.types.array
| From: | B dot A dot R dot Thompson at Warwick dot ac dot uk | Date: | Sat, 19 Jun 2004 12:49:15 +0000 |
| Subject: | note 43385 added to language.types.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-71334@lists.php.net to get a copy of this message | ||
Can u set up a mutli-dimensional array, without using nested arrays?? In java, for example:
int[] myArray;
myArray = new int[10,10];
would create an array, 10 high and 10 wide. Equally:
int[] myArray;
myArray = new int[10,10,10];
is a three dimensional array, 10 high, 10 wide, and 10 deep.
I cant find in the manual a php equivalent!! The closest i seem to come is nested arrays. Anyone
have any clues...I imagine im being pretty dumb here!! so i apologise in advance!!
----
Manual Page -- http://www.php.net/manual/en/language.types.array.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43385
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43385&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43385&report=yes
Search -- http://master.php.net/manage/user-notes.php