Well here is my problem.
I gathering a country and how many times it is in the table.
Well I did it with this query
"SELECT COUNTRY, COUNT() FROM table GROUP BY COUNTRY"
So for example
COUNTRY COUNT()
USA 12
Brazil 15
Netherlands 10
Belgium 5
hmm actually it sorts it but never the less not important now.
No I want to sort it on COUNT().
I tried it with a array (a multi dimensional array).
But the problem with those darn arrays is when you are filling it like this
$TEST[0][0] = "$COUNT() $COUNTRY";
But the problem is that $COUNT(*) will be a string instead of a int when I use any sort() function.
So my question how to solve it?
Any great ideas? lemme know 🙂