I'm trying to implement a project very alike that:
https://developers.google.com/maps/articles/phpsqlinfo_v3
But I'm receiving this message from my phpsqlinfo_addrow.php:
Invalid query: Data truncated for column 'lat' at row 1
I don't know what's wrong because my lat lng columns were configured in the same way shown in the code. I checked the code a lot of times and there is no typo.
I'm using PHP 5 and MySQL Workbench.
Daniel
--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/CWzaqEvGSPUJ.
Thanks Jeff and Barry,
Actually I've changed the column type to VARCHAR and now mysql is working fine.
Do you believe this is ok?
-Jeff Lake MichiganWxSystem.com AllisonHouse.com TheWeatherCenter.net GRLevelXStuff.com
--
You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group.
To unsubscribe from this group, send email to google-maps-js-api-v3+unsub...@googlegroups.com.
Do you know why mysql does not allow me to turn lat lng columns into FLOAT again?
I have changed the code as Jeff sugested but now I can't change the column datatype ...