ARCHIVO: /home/sanicom/public_html/lista.php LINEA: 69 |
SELECT SQL_CALC_FOUND_ROWS productos.*, productos.id AS idproducto, productos.nombre AS nproducto, productos.habilitar, laboratorios.id AS idlab, laboratorios.nombre AS nlab, laboratorios.registrado AS rlab FROM productos JOIN laboratorios ON productos.laboratorio = laboratorios.id WHERE () AND (accion_primaria='4') AND ((FIND_IN_SET(11,productos.especie))) AND productos.nombre IS NOT NULL AND productos.habilitar = 1 AND laboratorios.habilitar = 1 GROUP BY productos.id ORDER BY laboratorios.registrado DESC,nproducto LIMIT 0,24 ERROR:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND (accion_primaria='4') AND ((FIND_IN_SET(11,productos.especie))) AND produc' at line 11 |