mysqli_close($link);
// Clean up old cookies at the end (non-blocking)
if (isset($_COOKIE['MYARTICLES2020'])) {
setcookie('MYARTICLES2020', null, -1, '/');
}
if (isset($_COOKIE['MYARTICLES20221'])) {
setcookie('MYARTICLES20221', null, -1, '/');
}
if (isset($_COOKIE['MYARTICLES2021'])) {
setcookie('MYARTICLES2021', null, -1, '/');
}
// Flush output buffer
ob_end_flush();
?>