Hello,
I have a problem when I try to change or add an image or keyword in the description field where there is an apostrophe.
The error displayed is as follows:
DB Error: Bad SQL Query: SELECT word_text, word_id FROM 4images_wordlist WHERE word_text IN ('laquila', 'anno', 'sisma', 'capoluogo', 'dellabruzzo', 'anno', 'sisma', 'foto', 'del', 'centro', 'storico', 'recintato', 'chiuso', 'pubblico', 'l'aquila', 'abruzzo', 'sisma', 'centro', 'storico', 'centro storico', 'recintato', 'chiuso', 'ricostruzione')
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 'aquila', 'abruzzo', 'sisma', 'centro', 'storico', 'centro storico', 'recintato',' at line 3
DB Error: Bad SQL Query: INSERT INTO 4images_wordmatch (image_id, word_id, name_match, desc_match, keys_match) SELECT DISTINCT 220, word_id, 0, 0, 1 FROM 4images_wordlist WHERE word_text = 'l'aquila'
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 'aquila'' at line 4
DB Error: Bad SQL Query: SELECT word_text, word_id FROM 4images_wordlist WHERE word_text IN ('laquila', 'anno', 'sisma', 'capoluogo', 'dellabruzzo', 'anno', 'sisma', 'foto', 'del', 'centro', 'storico', 'recintato', 'chiuso', 'pubblico', 'l'aquila', 'abruzzo', 'sisma', 'centro', 'storico', 'centro storico', 'recintato', 'chiuso', 'ricostruzione')
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 'aquila', 'abruzzo', 'sisma', 'centro', 'storico', 'centro storico', 'recintato',' at line 3
DB Error: Bad SQL Query: INSERT INTO 4images_wordmatch (image_id, word_id, name_match, desc_match, keys_match) SELECT DISTINCT 219, word_id, 0, 0, 1 FROM 4images_wordlist WHERE word_text = 'l'aquila'
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 'aquila'' at line 4
DB Error: Bad SQL Query: SELECT word_text, word_id FROM 4images_wordlist WHERE word_text IN ('laquila', 'anno', 'sisma', 'capoluogo', 'dellabruzzo', 'anno', 'sisma', 'foto', 'del', 'centro', 'storico', 'recintato', 'chiuso', 'pubblico', 'l'aquila', 'abruzzo', 'sisma', 'centro', 'storico', 'centro storico', 'recintato', 'chiuso', 'ricostruzione')
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 'aquila', 'abruzzo', 'sisma', 'centro', 'storico', 'centro storico', 'recintato',' at line 3
DB Error: Bad SQL Query: INSERT INTO 4images_wordmatch (image_id, word_id, name_match, desc_match, keys_match) SELECT DISTINCT 218, word_id, 0, 0, 1 FROM 4images_wordlist WHERE word_text = 'l'aquila'
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 'aquila'' at line 4
the problem is the word --> l'aquila
thanks
paolo