Error en la consulta de conteo de registros: SELECT COUNT(*) FROM 1728_UN WHERE IdTipoInmueble >0 AND IdTipoOperacion >0 AND IdPoblacion >0 AND Situacion1 LIKE "%" AND Hdobles_num >=0 AND Hsimples_num >=0 AND BanoC_num >=0 AND BanoA_num >=0 AND PrecioEur >= 0 AND PrecioEur <= 99999999999999 AND SuperficieTotal >= 0 AND SuperficieTotal <= 99999999999999 AND Ascensor_box >=0 AND Garage_box >=0 AND Piscina_box >=0 AND Terraza_box >=0 AND Balcon_box >=0 AND Jardin_box >=0 AND AireAcondicionado_box >=0 AND Calefaccion_box >=0 AND Exterior_box >=0 AND Interior_box >=0 AND Muebles_box >=0 AND Agua_box >=0 AND Luz_box >=0 AND Gas_box >=0 ORDER BY PrecioEur∨den=ASC DESC. Mysql dijo: Algo está equivocado en su sintax cerca 'ˆ¨den=ASC DESC' en la linea 1