Array's

From: Date: Mon, 29 Oct 2001 06:34:12 +0000
Subject: Array's
Groups: php.general 
Request: Send a blank email to php-general+get-72682@lists.php.net to get a copy of this message
Please help! Im have been trying to get a multi-dimentional array for so time now and dont seems to get a right! I have the following : while($row=db_range()){ list($co_id,$surname,$init,$ba) = $row; $acid[$i] = array("$a"=>array("$co_id"), "$b"=>array("$surname,$init"), // does it work like this ??? "$c"=>array("$ba")) ; $i++; }//end while 1 I have 4 fields that i want to to put in an array and about 3000 records. How can i list the fields in an array and retrive the values out of the array PLS help!

« previous php.general (#72682) next »