<a href="./archive?id=4">опубликовать</a>
if (isset($_GET['id']) && $_GET['id'] != '') {
require_once './connect_db.php';
$mysqli_table = 'journal_article';
$sql = "UPDATE ".$mysqli_table." SET `status`= '1' WHERE `id` = '".$_GET['id']."'";
$result = mysqli_query($db, $sql);
}
if (isset($_GET['id'] && $_GET['id'] != '')) {
if (isset($_GET['id']) && $_GET['id'] != '') {