if ($_POST[‘waiters’] == ‘מעונין’) { return $_POST[‘total_payment_for_waiters’]; } else { return ”; }