I wanna sort this 2 variables by the variable 'wons'
I mean, I first wanna sort the variable 'wons' and I want the respective 'final' like:
$final[0] = 'pinco';
$final[1] = 'pallino';
$wons[0] = 3;
$wons[1] = 7;
Now i want to sort this 2 variables for 'wons' variable like I want this result:
I want the first result to be pallino and the score 7 and etc..
Can anyone help me? I have tried so hard.. The language is PHP