> It does not work when I try to send it variable obtained from user
> input like
> var kml = new GGeoXml("http://IntegratedStatistics.com/ejosephs/
> v2pages/makekml2.php?voyageccc=$Voyage");I think perhaps you are struggling with seperating what happens at the server from what happens at the clients browser. ALL the php runs at the server BEFORE the web page gets built at the browser. If you try to use a (server) php variable like $Voyage within a (client) javascript, what will get printed into the javascript is whatever the value of $Voyage was when the php ran at the server earlier. Nothing that happens at the clients browser will change it. You need to take another look at AJAX examples; you're looking for (client)javascript that can read what the user types in and then assemble the URL parameters you need, before sending them to the (server) php script. cheers, Ross K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
