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