Ciao a tutti,
vorrei inserire le coordinate geografiche (latitudine e longitudine) in una tabella mysql chiamata marker. La query che uso è questa:

INSERT INTO marker (nome,indirizzo,lat,long) VALUES ('$nome','$address','$lat','$long')

Quando ho creato questa tabella ho dato ai campi lat e long FLOAT ( 10,6 ) ma l'errore che mi restituisce è:

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 'long) VALUES ('nome','Citta','45.1921877','11.556732')' at line 1

Ho provato anche cambiando lat e long come varchar... ma niente. Secondo voi quel'è questo errore di sintassi???