Re: multy dimensional array help

From: Date: Sun, 07 Oct 2001 17:49:04 +0000
Subject: Re: multy dimensional array help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70291@lists.php.net to get a copy of this message
veber@ptt.yu (Nikola Veber) wrote: > Hi ! > > I couldn't find this in the manual ... > I have an array whitch looks like this: > $a = array( > "letters" => array("a", "b", "c", "d"), > "numbers" => array(1, 2, 3, 4), > "words" => array("blue", "horse", "zebra") > ); > Is it possible to do smth like this: > echo $a["letters"[2]]; echo $a["letters"][2]; -- Henrik Hansen

« previous php.general (#70291) next »