prepare($sql); $query->bindValue(':id', $id, PDO::PARAM_INT); $query->execute(); header('Location: index.php'); } require_once('close.php');