Ver Mensaje Individual
  #8 (permalink)  
Antiguo 06/06/2013, 08:01
Avatar de wizanchez
wizanchez
 
Fecha de Ingreso: junio-2013
Ubicación: bogota
Mensajes: 120
Antigüedad: 10 años, 11 meses
Puntos: 6
Respuesta: cantidad de imagenes de una tabla

- podes hacer tambien con

Código MySQL:
Ver original
  1. SELECT SQL_CALC_FOUND_ROWS,* FROM articulos INNER JOIN imagenes ON articulos.idarticles = imagenes.idart ORDER BY idarticles ASC;

y luego
Código MySQL:
Ver original
  1. 'SELECT FOUND_ROWS() as total'

- aca te traera el total de registro asi lo estes limitando