Jump to content

[SOLVED] multidimensional array


PC Nerd

Recommended Posts

if i have a n array like this:

 

 

$Arr['a']['x'] = '';

$Arr['a']['y'] = '';

$Arr['a']['z'] = '';

 

$Arr['b']['x'] = '';

$Arr['b']['y'] = '';

$Arr['b']['z'] = '';

 

$Arr['c']['x'] = '';

$Arr['c']['y'] = '';

$Arr['c']['z'] = '';

 

 

and i want to find the actuall value not type of the first index, how do i get it

 

ie, if i was simply to foreach throughit then echo it, id get Array, instead of "a", or "b", or "c"

Link to comment
https://forums.phpfreaks.com/topic/45865-solved-multidimensional-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.