function excluirProjeto($id) { $agendaDAO = new AgendaDAO(); echo json_encode($agendaDAO->excluirProjeto($id)); }