Re: 3 dimensional array

From: Date: Mon, 31 Jul 2000 18:22:31 +0000
Subject: Re: 3 dimensional array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9221@lists.php.net to get a copy of this message
Lars Wilhelmsen wrote: > I'm currently coding a small utility function, and in it i want a 3 > dimentional associative array. > Is it possible at all? Any dimension is allowed. $array_data[0][0][0] = "3. dimension, first entry"; $array_data[0][0][1] = "3. dimension, second entry"; Using the array() function: $array_data = array ( array ( array( "3. dimension, first entry", "3. dimension, second entry" ) ) ); Ulf

« previous php.general (#9221) next »