Anda dapat menggunakan bindParam atau bindValue sebelum mencoba mengeksekusi kueri que.
$command = " DELETE FROM SoccerPoll WHERE Id=:id LIMIT 1";
$stmt = $dbh ->prepare($command);
$stmt->bindParam(':id', $_GET['Id'], PDO::PARAM_INT);
$stmt->execute();