I understand how to create markers from an XML file, my problem is that I'm using a PHP script to extract the markers that correspond to the search criteria in the FORM.
The action="search.php" attached to my FORM calls up the following $query: $query = "SELECT * FROM markers WHERE `municipalite`='" . $_POST['municipalite'] . "' AND `contract`='".$_POST['contract']."' AND `zonage`='".$_POST['zonage']."'"; and returns the associated XML file but onto a new page. Instead of displaying this XML table in a new page how could I re- route it into a similar GDownloadURL() function to then display the markers? Thanks, On Jul 14, 12:04 pm, Grok Lobster <[email protected]> wrote: > http://econym.org.uk/gmap/basic3.htm > > On Jul 14, 8:49 am, Pierre <[email protected]> wrote: > > > Below is a link for a website I am working on. It is in french but I'm > > sure it is simple enough for you to understand the goals. Basically > > users will be asked to double click on the map, fill in the required > > data and submit it into our MySQL database. Following this, we want > > users to be able to navigate through the various parameters we've > > asked people to submit in order to view markers of interest (done > > through the use of the FORM below the map). > > >http://pippin.geog.mcgill.ca/acton/cld/index_cld.html > > > If you click in the 'Afficher toutes les propriétés' check box, you > > can see the points I have submitted to play around with. > > > The way it is set up, if you click on the 'SEARCH' button (without > > changing the current settings), it will go through the .php script I > > have associated with the form and open a page with the xml results of > > the associated data entry which fulfills the desired options. > > > I know how to set up the $query command to select the desired data > > from the user FORM to be extracted from the database but I don't know > > how to then run that resulting XML page through my Javascript command > > to display the markers on the map without going to another page! > > > Any help would be greatly appreciated! > > > Thanks, > > > Pierre -- 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.
