コード例 #1
0
              
              <button class="btn btn-success" >Guardar</button>
          </form>  
          </div>
          <div class="col-md-4">
            <table class="table table-hover">
              <thead>
            <tr>
              <th>Nombre de Banco</th>
              <th>Numero De Cuenta</th>
            </tr>
          </thead>
          <tbody>
              <?php 
try {
    $banc = $banco->seleccionar_banco();
} catch (Exception $e) {
    echo "Ha ocurrido un error";
}
if ($banc != null) {
    foreach ($banc as $key => $bl) {
        $nomBanco = $bl['nomBanc'];
        $numCuenta = $bl['numCuentaBanc'];
        $idBanc = $bl['idBanc'];
        ?>
              <tr>
        <td>
        <?php 
        echo $nomBanco;
        ?>
        </td>