Sort Variable

if($_REQUEST[cmbNegeri]!=’-’) // all district
{
$nilai_sort = array(“Bil” => $j ,“negeri” =>$namaNegeri[$j] , “daerah” =>$namaHint_daerah[$j] , “kodkos” =>$codeHint[$j] , “kos” => $nameHint[$j] , “a” =>$A[$j][$p] , “b” =>$B[$j][$p] , “c”=>$C[$j][$p] );
}
else // all state
{
$nilai_sort= array(array(“Bil” => $j ,“negeri” =>$namaNegeri[$j] , “daerah” =>$nameDaerah[$j] , “kodkos” =>$codeHint[$j] , “kos” => $nameKos[$j] , “a” =>$A[$j][$p] , “b” =>$B[$j][$p] , “c”=>$C[$j][$p] ));
}
if($_REQUEST[cmbDaerah]!=’-’ && $_REQUEST[cmbCourse]==’-’) // all course
{
$nilai_sort= array(array(“Bil” => $j ,“negeri” =>$namaNegeri[$j] , “daerah” =>$district , “kodkos” =>$codeHint, “kos” => $nameHint[$j] , “a” =>$A[$j][$p] , “b” =>$B[$j][$p] , “c”=>$C[$j][$p] ));
}
if ($_REQUEST[cmbCourse]!=’-’ && $_REQUEST[cmbNegeri]!=’-’)//specific course
{
$nilai_sort= array(array(“Bil” => $j , “negeri” =>$namaNegeri[$j] , “daerah” =>$namaDaerah , “kodkos” =>$noKos , “kos” => $nameKos, “a” =>$A[$j][$p] , “b” =>$B[$j][$p] , “c”=>$C[$j][$p] ));
}

how to sort value in key c …plz help me

Sort it how

Sponsor our Newsletter | Privacy Policy | Terms of Service