http://www.google.co.uk/search?hl=en&q=php+pass+variable+to+javascript&meta=
More than one way to go about it. If your PHP creates the page, you could embed the values directly in the javascript. Or more sensibly, write a 'scriptlet' that includes the values and makes them accessible to the main script. Or you can include your parameter values in the URL as querystring for the page in the first place, and have your script read the querystring. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
