Change access code
Code set to $_POST[codeNew]!";
$query = "select first_name, name, e_mail from users inner join occupation
on (users.id = occupation.user_id) where occupation.end > now() group by users.id;";
$result = db_query($query, $connection);
echo "The following users should be informed:";
echo "
";
}
$code = get_access_code($connection);
echo "The current code is: $code
";
?>