I'm trying to use the max
function, but I can not get it right.
// variáveis da diferença salarial
$saldev[0] = $_POST ["Tdate5"];
$saldev[1] = $_POST ["Tdate9"];
$saldev[2] = $_POST ["Tdate13"];
$saldev[3] = $_POST ["Tdate17"];
$saldev[4] = $_POST ["Tdate21"];
$saldev2 = max($saldev);