<br> <br> <table class="table table-striped table-bordered"> <thead> <tr> <th>id</th> <th>Nome</th> <th>Tipo</th> <th>Endereço</th> <th>Telefone</th> <th>Ações</th> </tr> </thead> <tbody> <?php foreach ($clientes->flush() as $cliente) { ?> <tr> <td><?php echo $cliente['id']; ?> </td> <td><?php echo $cliente['nome']; ?> </td> <?php if ($cliente['tipo'] == 1) { ?> <td>Pessoa Física</td> <?php