note 89325 deleted from function.array by sobak

From: Date: Fri, 25 Nov 2016 07:38:19 +0000
Subject: note 89325 deleted from function.array by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207670@lists.php.net to get a copy of this message
Note Submitter: alwynlobo at gmail dot com ---- Here's an example on how to create a multi-dimensional array...(without using ArrayObject) <?php $characters = array(array(array( array ( name=>"name 1", occupation=>"Developer", age=>30, specialty=>"Java" ), array ( name=>"name 2", occupation=>"Programmer", age=>24, specialty=>"C++" ), array ( name=>"name 3", occupation=>"Designer", age=>63, specialty=>"Javascript" ))) ); print $characters[0][0][2][occupation]; ?>

« previous php.notes (#207670) next »