SELECT descripcio FROM Clonica_Port_Productes_Cat WHERE id =
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 '' at line 1
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/clientes/todopetanca.es/www/lib/paginador_simple.php on line 14
QUERY ERROR:
SELECT
Madison_Productos.*,
Clonica_Port_Productes_Cat.nom as nombre_categoria,
Clonica_Port_Productes_Subcat.nom as nombre_subcategoria
FROM
Madison_Productos,
Clonica_Port_Productes_Cat,
Clonica_Port_Productes_Subcat
WHERE
Madison_Productos.id_cat = Clonica_Port_Productes_Cat.id
AND
Madison_Productos.id_subcat = Clonica_Port_Productes_Subcat.id
AND
Madison_Productos.Idioma_cook=291
AND
referencia like '%'
AND
Madison_Productos.id !=
AND
Madison_Productos.web='1'
AND
Madison_Productos.tipo='P'
ORDER BY
Madison_Productos.referencia
LIMIT 0,6
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
Madison_Productos.web='1'
AND
Madison_Productos.tipo='P'
' at line 21