If you want to select an array in the array to retrieve data from a particular variable and sorted you can use the following as an example: <?php $f = array( array('Name' =>'Ucup', 'Class' => 7), array('Name' => 'Faizal', 'Class' => 9), array('Name' => 'Abdul', 'Class' => 8) ); function sort($r,$d) { return strnatcmp($r['Name'],$d['Name']); } usort($f,'sort'); foreach($f as $k=>$v) { echo $v['Name']; } ?> On the listing coding above...
Website Pembelajaran Pemrograman dan Info Game Terupdate