On Jul 23, 10:41 am, Rossko <[email protected]> wrote: > > I'm doing my tests atwww.mafiotul.ro/geo/index.php > > Where am I mistaking? > > Using something like Firebug is helpful to see what's going on. > > You javascript requests this 'file' (php script) > http://www.mafiotul.ro/geo/phpsqlinfo_addrow.php?name=Nume&address=Ad... > and the response is > "Can't use db : No database selected" > > good luck, Ross K
Thanks Ross But that isn't the problem that i'm dealing with. That was a code misplace that it is solved right now. The problem is that I cannot read from my database using javascript. I read all the tutorials that i found but it didn't helped me. I want to get 2 coordinates from my database and calculate distance between them and the new ones that I'm saving. I just need an example code of how to get that coordinates from my database. Please help me with an example code. Thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
