SHARE
TWEET

Untitled

a guest Jul 17th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <form class="form-inline my-2 my-lg-0" action="<?=base_url('busca/resultado/')?>" method="post">
  2.                 <input class="form-control mr-sm-2" type="search" name="busca" id="busca" placeholder="Pesquisar" aria-label="Pesquisar">
  3.                 <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Pesquisar</button>
  4. </form>
  5.  
  6. <section class="section">
  7.     <div class="container">
  8.  
  9.  
  10. <h1>Usuários</h1>
  11.     <table class="table">
  12.         <tr>
  13.         <th>Nome</th>
  14.         <th>Idade</th>
  15.         <th>Sexo</th>
  16.         </tr>
  17.         <?php foreach ($cities as $cities) : ?>
  18.         <tr>
  19.             <td><?= $cities['nome'] ?></td>
  20.             <td><?= $cities['idade'] ?></td>
  21.             <td><?= $cities['sexo'] ?></td>
  22.         </tr>
  23.         <?php endforeach; ?>
  24.     </table>
  25.  
  26.     <h1>Buscar</h1>
  27.     <form action="<?=base_url('busca/resultado/')?>" method="post">
  28.         <label for="busca">Pesquisa</label>
  29.         <input type="text" name="busca" id="busca" class="form-control">
  30.         <button type="submit" class="btn btn-primary">Buscar</button>
  31.     </form>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top