1) { $comma = ','; } $goto = $tGoto . $comma . $vacation_goto; $result = db_query ("UPDATE $table_alias SET goto='$goto',modified=NOW() WHERE address='$USERID_USERNAME'"); if ($result['rows'] != 1) { $error = 1; $tMessage = $PALANG['pUsersVacation_result_error']; } else { header ("Location: main.php"); exit; } } include ("../templates/header.tpl"); include ("../templates/users_menu.tpl"); include ("../templates/users_vacation.tpl"); include ("../templates/footer.tpl"); } ?>