Erreur SQL-Erreur : requète 1
MySql a répondu : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND (I.img_lg = 'fr' OR I.img_lg = '') AND I.kwd_id = K.kwd_id AND img_mask...' at line 1
SQL : SELECT I.img_url, I.img_ref, I.img_lmax, I.img_hmax, I.img_mask, I.img_id, I.img_dim,I.kwd_id, I.img_rank FROM t_card I ,t_kwd_card K WHERE I.cat_id = AND (I.img_lg = 'fr' OR I.img_lg = '') AND I.kwd_id = K.kwd_id AND img_mask = '0' ORDER BY I.img_rank DESC, I.img_dim DESC : xYou have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND (I.img_lg = 'fr' OR I.img_lg = '') AND I.kwd_id = K.kwd_id AND img_mask...' at line 1; query:SELECT I.img_url, I.img_ref, I.img_lmax, I.img_hmax, I.img_mask, I.img_id, I.img_dim,I.kwd_id, I.img_rank FROM t_card I ,t_kwd_card K WHERE I.cat_id = AND (I.img_lg = 'fr' OR I.img_lg = '') AND I.kwd_id = K.kwd_id AND img_mask = '0' ORDER BY I.img_rank DESC, I.img_dim DESC