note 14384 deleted from language.types.array by jimw

From: Date: Fri, 14 Dec 2001 19:54:24 +0000
Subject: note 14384 deleted from language.types.array by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-22674@lists.php.net to get a copy of this message
The documentation here for multidimentional arrays is sparse to say the least. One BASIC thing that should be here is how to actually REFERENCE multiple dimentions in an array: $array[index_of_dim1][index_of_dim_2] etc... that is to say, if you have the array $people = array("girls" => array("tallie", "juanita", "pearle") ,"boys" => array("bob", "cletis", "jeb")); then $people["girls"][0] would return "tallie" $people["boys"][1] would return "cletis" (slackjawed yokel would only be inferred by the savvy user) ;) etc...

« previous php.notes (#22674) next »