estoy con un inconveniente , estoy haciendo una consulta a la bd con php
y voy llenando una tabla html ,el problema es que tarda bastante tiempo en llenarse la tabla y son solamente 2500 registros
existe la forma de acelerar la consulta?
mi codigo es este
Código PHP:
Muchas gracias Ver original
<?php require_once('class/class.php'); $sql="SELECT * FROM articulos"; ?> <table cellpadding="0" cellspacing="0" border="1" class="display" id="example" > <thead > <tr> <th>N° Compra</th> <th>Proveedor</th> <th>N° Comprobante</th> <th>Moneda</th> <th>Cotizacion</th> </tr> </thead> <tbody> <?php { echo '<tr>'; echo '<td>'. $row['articulo_id'].'</td>'; echo '<td>'. $row['descripcion'].'</td>'; echo '<td>'. $row['detalle'].'-'. $row['compra_num_com'].'</td>'; echo '<td>'. $row['proce'].'</td>'; echo '<td>'. $row['moneda'].'</td>'; echo '</tr>'; } ?> </tbody> </table