function updateMaxMenteesPerMentor() { include_once "mentor_maximum.php"; $currentValue = retrieveMaxMenteesPerMentor(); $minValue = calcMinMaxMenteesPerMentor(); if ($currentValue < $minValue) { setMaxMenteesPerMentor($minValue); } }
function getMinMaxMenteesPerMentor() { $minMenteesPerMentor = calcMinMaxMenteesPerMentor(); print $minMenteesPerMentor; }