</form> <section id="unseen"> <table class="table"> <thead> <tr> <th> ID </th> <th> Descrição </th> <th> Entrada do Ingrediente </th> <th> Saída do Ingrediente </th> <th> Tipo </th> <th class="numeric"> Detalhes </th> </tr> </thead> <tbody> <?php $lista = $fachada->listarIngrediente()->fetchAll(PDO::FETCH_OBJ); foreach ($lista AS $linha) { if ($linha->descricao != null) { ?> <tr> <td><?= $linha->id; ?></td> <td><?= $linha->descricao; ?></td> <td><?= $linha->data1; ?></td> <td><?= $linha->data2; ?></td> <td><?= $linha->tipo ?></td> <td><a href="detalheIngrediente.php?id=<?= $linha->id; ?>"<button class="btn btn-theme"> Detalhes </button></a></td> <td><a href="removeIngrediente.php?id=<?= $linha->id; ?>"<button class="btn btn-danger"> Remover </button></a></td> </tr> <?php } }