function Excluir() { @session_start(); $this->pessoa_logada = $_SESSION['id_pessoa']; @session_write_close(); $obj = new clsPmieducarSerie($this->cod_serie, $this->pessoa_logada, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0); $excluiu = $obj->excluir(); if ($excluiu) { $this->mensagem .= "Exclusão efetuada com sucesso.<br>"; header("Location: educar_serie_lst.php"); die; } $this->mensagem = "Exclusão não realizada.<br>"; echo "<!--\nErro ao excluir clsPmieducarSerie\nvalores obrigatórios\nif( is_numeric( {$this->cod_serie} ) && is_numeric( {$this->pessoa_logada} ) )\n-->"; return FALSE; }