if ($answer) { error_entry(); } else { warning_entry(); }