Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in
Intento esto y tampoco agarra:
Código PHP:
Ver original("SELECT * FROM (SELECT C.*, GROUP_CONCAT(P.nombre) AS name, GROUP_CONCAT(P.imagen) AS img, GROUP_CONCAT(P.producto_id) AS id FROM categorias C INNER JOIN productos P ON C.categoria_id = P.categoria_padre ORDER BY C.categoria_id ASC, P.orden ASC) T1 GROUP BY C.categoria_id");