D
DANIEL C
Guest
Currently I have an array that builds as a database grows. A sample array of what results I get is
$array = ("tag1" => "1", "tag2" => "3", "tag3" => "2");
Now what I need help with is sorting them so the values are sorted numerically most to least.. then have the only the top 10 show... at the moment I really just need the sorting help.. I'm pretty sure I can figure out the top 10 on my own.. any help would be great!
k thanks!
$array = ("tag1" => "1", "tag2" => "3", "tag3" => "2");
Now what I need help with is sorting them so the values are sorted numerically most to least.. then have the only the top 10 show... at the moment I really just need the sorting help.. I'm pretty sure I can figure out the top 10 on my own.. any help would be great!
k thanks!