<?php
require_once "../config/Conexion.php";
$sql = "SELECT clave_acceso FROM facturas_sri ORDER BY idfactura_sri DESC LIMIT 10";
$rspta = ejecutarConsulta($sql);
echo "Last 10 access keys:\n";
while ($reg = $rspta->fetch_object()) {
    echo $reg->clave_acceso . "\n";
}
?>