id.")"; } else { $sql = "UPDATE comment SET title='$title', content='$content', id_user=". $_SESSION['user']->id ." WHERE id = " . $_GET['id_comment']; } if ($db->query($sql)) { header('Location: article_view.php?id=' . $_GET['id_article']); exit(); } else { die("Erreur : $sql"); } } ?>