<?php $a = array("E", "A", NULL, "D", "C"); asort($a); echo "<pre>"; print_r($a); $b = array("Dog","Cat","Horse","Bear","Zebra"); $c = array(12, 11, 20, 30, 19); foreach($a as $k=>$v){ $b1[] = $b[$k]; $c1[] = $c[$k]; } echo "<pre>"; print_r($b1); echo "<pre>"; print_r($c1);
You have javascript disabled. You will not be able to edit any code.