Salve a tutti e Buon Natale!
ebbene si anche oggi sono alle prese con il mio codice asp che mi fa impazzire! chi mi sa dire dove è sbagliato il seguente codice?
codice:
sql="INSERT INTO Cat SET cat = '"& newcat &"', immagineCat = '"& immagineCat &"', descrizionecat = '"& Testo &"', id1 = '"& id1 &"', id2 = '"& id2 &"', id3 = '"& id3 &"', id4 = '"& id4 &"', id5 = '"& id5 &"', id6 = '"& id6 &"', id7 = '"& id7 &"', id8 = '"& id8
conn.Execute(sql)
ho il seguente errore
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
[MySQL][ODBC 3.51 Driver][mysqld-4.0.17-nt]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
/mercatino/admin/Admin_addcategoria.asp, line 76