Premettendo che non sono un esperto, facendo delle prove ho messo gli apici perché ho provato da PhpMyAdmin a eseguire la query che mi serve e mi ha fatto vedere come l'ha costruita, e ho provato a copiarla da lì.
Comunque avevo già provato anche senza apici e il risultato è lo stesso:
grazieErrore, query non eseguita
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 'desc, photo, active) VALUES (NULL, 'Prova Nome', 'Prova Descrizione', 'imm.jpg',' at line 1

Rispondi quotando