Forum Moderators: coopster
I want to make a statement like this
$variable1 = 1; $variable2 = 44; $variable3 = 3; $variable4 = 67; $variable5 = 78;
$category = "whatever variable has the highest number";
Use an array instead of strings and then sort the array numerically descending. $array[0] will then be the highest number.
How would you do that?