PHP Classes

File: api/view/cliente_listagem.php

Recommend this page to a friend!
  Classes of adriano123456   PHP CRUD API Example   api/view/cliente_listagem.php   Download  
File: api/view/cliente_listagem.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP CRUD API Example
Example API to manipulate database table records
Author: By
Last change:
Date: 8 months ago
Size: 1,197 bytes


Class file image Download
<table id="lista_clientes" class="table table-sm table-hover table-bordered">
            <th scope="col">#</th>
            <th scope="col">ID</th>
            <th scope="col">NOME</th>
            <th scope="col">EMAIL</th>
            <th scope="col">ACAO</th>
    <?php foreach($clientes as $cliente): ?>
            <td><input type="checkbox" name="cadastro[]"></td>
            <td><?= $cliente['id' ] ?></td>
            <td><a href="#" id="<?= $cliente['id'] ?>" onClick="edit_row(" alt="clique alterar" title="clique alterar"><?= $cliente['nome' ] ?></a></td>
            <td><?= $cliente['email'] ?></td>
                <!--<input type="button" class="btn btn-primary " id="<?= $cliente['id'] ?>" value="E" onClick="edit_row(">-->
                <input type="button" class="btn btn-danger" id="<?= $cliente['id'] ?>" value="Excluir" onClick="del_row(,this)">
    <?php endforeach;?>
        <tr><td colspan="5"><input type="button" class="btn btn-danger" value="Excluir itens"></td></tr>