I have 3 variables I would like to check the value of each and select the one that is the highest. They must be atleast .05 or higher
I was thinking something like
if ($var1 <= .049 || $var2 <= .049 || $var3 <= .049 )
{
echo 'value to low';
}
else
{
this is where Im confused, how to select the variable with the highest value
}
any help is appreciated.
Thanks
Turk
I was thinking something like
if ($var1 <= .049 || $var2 <= .049 || $var3 <= .049 )
{
echo 'value to low';
}
else
{
this is where Im confused, how to select the variable with the highest value
}
any help is appreciated.
Thanks
Turk













