<table class="table">
            <thead style="background: #D5D8DC;">
              <tr>
                <th class="align-middle text-center" scope="col">Clave</th>
                <th class="align-middle text-center" scope="col">Nombre del Producto</th>
                <th class="align-middle text-center" scope="col">Costo</th>
              </tr>
            </thead>
            <tbody>
            <?php
              for($rr=0;$rr<count($datos_productos);$rr++){
            ?>
              <tr>
                <td class="align-middle text-center"><?php echo $datos_productos[$rr]["CLAVE"]?></td>
                <td class="align-middle text-center"><?php echo $datos_productos[$rr]["NOMBRE"]?></td>
                <td class="align-middle text-center"><?php echo $datos_productos[$rr]["PRECIO"]?></td>
              </tr>
              <?php
                }
              ?>
            </tbody>
          </table>