How can I sort an array keeping the correlation between the index and value?
Otherwise it functions the same: asort($array);
$myworld = array("a"=>"php","b"=>"learning","c"=>"i'm");
[c] => i'm
[b] => learning
[a] => php
More arrays PHP Questionswhen i fetch the record in the database but they skip first record in the database
OK I've been trying to echo out the arrays "$people and $other people" using the for-each method in alphabetical order. but when i see what this displays it does it in some other order. THIS IS THE CODE PHP Ch8 Lab
How do you remove duplicate values from an array?
how sorting an array with keys?
I'm shuffeling through numbers range(1, 10). Can I eval resulting random numbers and convert to appropriate text? 1 = username1, 2 = username2...etc?