I seem to have run into a problem with this regarding blank or undefined values.
$var1 = 34;
$var2 = 23;
$var3 = 17;
$lowPrice = min($var1,$var2,$var3);
echo "low price = $lowPrice";
returns "low price = 17", no problems there but what if one or more of the values is blank or undefined?
$var1 = 34;
$var2 = 23;
$var3 = "";
$lowPrice = min($var1,$var2,$var3);
echo "low price = $lowPrice";
will return "low price ="
Is there anyway you can get this Min() function to return the first you know proper number and not some blank/undefined or zero number? In other words how would I get that last example to return "low price = 23"