Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How to sort associative arrays in ascending order, according to the key in php ?

user-image
Question added by mohamed ahmed mahmoud , مصمم مواقع انترنت web designer , conect
Date Posted: 2017/04/02
medhatmahmoud mahmoud
by medhatmahmoud mahmoud , Web Designer , Connect Computer Service Co

<?php

$age = array("Peter"=>"", "Ben"=>"", "Joe"=>"");

ksort($age);

?>

More Questions Like This