View Single Post
  #1  
Old 06-24-2009, 08:12 AM
Novice Novice is offline
Developer
Join Date: Dec 2008
Posts: 90
Novice is an unknown quantity at this point
Send a message via MSN to Novice
Multi-Dimensional Arrays

Just a quick question,
Are there 3x-dimensional arrays? I know there are 2x-dimensional arrays (this.array[0][2]), but I'm not sure if there are 3x-dimensional arrays (this.array[0][2][1]). I'm working on a database that I don't really want to reorganize without knowing this first.

For example:
PHP Code:
this.array = {
  { 
"Boo","Bar",{"BazBoo","BazBar"},"BooBar" },
  { 
"Bar","Baz",{"BooBar","BooBaz"},"BarBaz" }
}
return 
this.array[0][2][1]; 
Would the returned string be BazBar?

Last edited by Novice; 06-24-2009 at 08:22 AM.. Reason: accidentally posted early :o
Reply With Quote