Hi!
I use max() to determine the most common answer of a poll question... That gets the highest number of votes. I want to determine which var was max...
this is what I do (not actual code):
$var1 = 12;
$var2 = 5;
$var3 = 10;
$var4 = 7;
$pop = max($var1, $var2, $var3, $var4);
$pop will return 12
Is there a way to find out that $var1 was the max var?
Thanks
Vasse