function selecionarInscricoesCanceladas() { $inscricaoDAO = new InscricaoDAO(); $result = $inscricaoDAO->selecionar_inscricoes_canceladas(); if (!$result) { echo "<h1>Nenhum registro encontrado</h1>"; exit; } else { ?> <h2><center>Lista de Inscrições Canceladas</center></h2> <?php $this->templateRelatorio($result); } }