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.

google map help

Discussion in 'PHP' started by Funk-woo10, Apr 18, 2008.

  1. #1
    Hi all,

    I need to put some php and google maps together, I need php to pull out the address of person from my DB and put it into the google maps code.

    Lets say the DB column is called adress.

    I then need to get that info and pass it into this code -
    
    
    
        <script src="******"
          type="text/javascript"></script>
        <script type="text/javascript">
        //<![CDATA[
        function load() {
          if (GBrowserIsCompatible()) {
            var map = new GMap2(document.getElementById("map"));
            map.setCenter(new GLatLng(37.4419, -122.1419), 13);
          }
        }
        //]]>
        </script>
      
    
    
      <body onload="load()" onunload="GUnload()">
        <div id="map" style="width: 350px; height: 350px"></div>
    
    
    
    
    
    
    HTML:

    can any 1 help ?
     
    Funk-woo10, Apr 18, 2008 IP