I have 2 arrays like those:
$a = array(152,32,113,47,53); $b = array("a","w","lk","qw","ol");
I will sort $a by using asort() and I want to auto-sort the second array $b likewise $a.
How to do I?
You can use array_multisort.