Bonjour à tous, je suis entrain de faire un bouton supprimer pour supprimer les articles publiés [closed]

J’ai l’erreur suivante :Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘>id ?’ at line 1 in C:xampphtdocssiteEnvoladminsupprimerArticle.php:6 Stack trace: #0 C:xampphtdocssiteEnvoladminsupprimerArticle.php(6): PDO->query(‘SELECT * FROM p…’) #1 {main} thrown in C:xampphtdocssiteEnvoladminsupprimerArticle.php on line 6

Voici le code de ma page de suppresion
`<?php

require_once'connect.php';

    if (isset($_GET['id'])) {
        $req = $bdd->query('SELECT * FROM publication WHERE id = '.$_GET['id']);
        $article = $req->fetch();
        if ($article) {
            $req = $bdd->query('DELETE  FROM publication WHERE id = '.$_GET['id']);
            header('location:index.php');
        } else {
            header('location:index.php');
        }
        
    } 

?>`