Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
09-03-2011, 06:14 PM #1
- Join Date
- Sep 2011
- Thanked 0 Times in 0 Posts
First off I didn't know whether to post this here or in the PHP section since it deals with both, but mostly JS.
I have a PHP scraper that scrapes the job title, company name and location from a website and stores them in separate arrays. These values are then extracted out one at a time from the array and stored into a string, that is then passed to a Google Maps API.
Here's the link to my code
Last edited by brando56894; 09-03-2011 at 06:19 PM.
09-03-2011, 06:29 PM #2
although I'm still not convinced that it needs to be - if you declare your lat and lng variables as global (as opposed to within the initialize function) you should be able to call the map function from anywhere.Originally Posted by brando56894
just a thought.