<?php require "funciones.php"; $bd = new BaseDeDatos(); $bd->setConexion(); $noticia = new Noticia($_POST['id']); $noticia->eliminar();