<?php session_start(); include_once '../Visual/topo.php'; include_once '../Model/Comida.php'; $comida = new Comida(); $lista = $comida->listarComida(); ?> <div class="panel panel-default"> <!-- Default panel contents --> <div class="panel-heading text-center">Comidas</div> <table class='table table-bordered table-condensed'> <thead> <tr> <th>#</th> <th>Nome</th> <th>Tipo</th> <th>Editar</th> <th>Excluir</th> </tr> </thead> <tbody> <?php while ($comida = $lista->fetch(PDO::FETCH_OBJ)) { ?> <tr> <td><?php echo $comida->id_comida; ?> </td>