Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/09/2007, 06:21
Avatar de sck1983
sck1983
 
Fecha de Ingreso: noviembre-2005
Ubicación: Sevilla
Mensajes: 110
Antigüedad: 18 años, 5 meses
Puntos: 2
Re: Sencillo??? =S

select * from novedades order by id limit $inicio , $td


asi lo tengo yo y me funciona perfectamente

mira:

$ssql = "SELECT * from facturas " . $criterio . " order by n_factura desc limit " . $inicio . "," . $TAMANO_PAGINA;