<!-- BASIC FORM ELELEMNTS --> <div class="row mt"> <div class="col-lg-12"> <div class="form-panel"> <h2 class="mb" style="text-align: center"><i class="fa fa-user"></i> Lista dos Bairros de um ROP </h2> <table class="table"> <thead> <tr> <th> ID Bairro </th> <th> Nome </th> <th class="numeric"> REMOVER </th> </tr> </thead> <tbody> <?php $lista = $fachada->listarRopBairro($_GET['id'])->fetchAll(PDO::FETCH_OBJ); foreach ($lista as $linha) { ?> <tr> <td><?php echo $linha->id_bairro; ?> </td> <td><?php echo $linha->nome_bairro; ?> </td> <td> <a href="removeRopBairro.php?id_rop=<?php echo $linha->id_rop; ?>