1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PHP & Google Maps API Help With Locations

Discussion in 'PHP' started by PPCJohn, Jan 21, 2009.

  1. #1
    Ive been stumped on trying to find a solution for what Im working on and before I go any further I wanted to make sure it was possible.

    I have a script that outputs the users city and state location (i.e. Miami, FL) on the page; that is in Javascript.

    What I was trying to do was create a map via Google Maps of their city, but what it looks like im limited to is latitude and longitude variables. I have a database of lat & lng for each city or zipcode in the US but because the users location is spit out in javascript, I cant seem to get it grab the info, only echos the actual javascript form.

    Anyone have any suggestions? If you know a solution and want to code it yourself, PM me and ill pay you with epass or paypal
     
    PPCJohn, Jan 21, 2009 IP
  2. Gonzo4u

    Gonzo4u Well-Known Member

    Messages:
    410
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Gonzo4u, Jan 22, 2009 IP
  3. Danltn

    Danltn Well-Known Member

    Messages:
    679
    Likes Received:
    36
    Best Answers:
    0
    Trophy Points:
    120
    #3
    Post the code please (or PM.)

    Dan.
     
    Danltn, Jan 22, 2009 IP