Re: GDownloadUrl and saving javascript points in a mysql database

2009-08-04 Thread Tuu T.
well my lat and lng are float i thoght maybe it was when you pass the value by the url...but in the database the numbers are correct, well i guess i will leave this way then... anyway thank you. On 4 ago, 11:53, Rossko wrote: > > There's a error in savephp:  Invalid query: Data truncated for col

Re: GDownloadUrl and saving javascript points in a mysql database

2009-08-04 Thread Rossko
> There's a error in save php:  Invalid query: Data truncated for column > 'lat' at row 1, but even so the function is working... Not a maps question then. http://www.google.co.uk/search?hl=en&q=Invalid+query%3A+Data+truncated+for+column&meta=&aq=f&oq= > Do you know what kind of problem is this?

Re: GDownloadUrl and saving javascript points in a mysql database

2009-08-04 Thread Tuu T.
Hi, thank you... I made this two functions now: the one with the map(just the javascript here): var latitude =; var longitude = ; var ponto = new GLatLng(latitude, longitude); var marker = new GMarker(ponto, {draggable:true});

Re: GDownloadUrl and saving javascript points in a mysql database

2009-08-02 Thread Mike Williams
Wasn't it Tuu T. who wrote: >I made a similar function but still doesn't work, so the last one, the >function save is called with a "Submit" button, not on map, but seems >that the variable marker cannot be found, Javascript called from a "Submit" button executes in global context, so any var

Re: GDownloadUrl and saving javascript points in a mysql database

2009-08-02 Thread Mike Williams
Wasn't it Tuu T. who wrote: >How does GDownloadUrl works? I know i have to pass the variables >through the url, but what is that function(data), can i pass the >variables without this function? You can use a function that does nothing: GDownloadUrl(url, function(data) { }); -- Mike Williams

GDownloadUrl and saving javascript points in a mysql database

2009-08-02 Thread Tuu T.
Hi, i am relatively new both in javascript and php... So i did this tutorial http://code.google.com/intl/pt-BR/apis/maps/articles/phpsqlinfo.html But i don't really understand how the functions works there...i need to do something alike, but i having some troble.Basically what i have is a page wi