I figured out how to do this using php... Here is the code since you
cannot see it in the browser:

        <?php  //use php to get variables from url and pass them into the xml
creating php file
        if(isset($_GET['subs'])){$subs=$_GET['subs'];} else {$subs='all';}
        if(isset($_GET['insu'])){$insu=$_GET['insu'];} else {$insu='all';}
        ?>
then when I call the map I use the following:
 GDownloadUrl("echoxml1.php?subs=<?php echo $subs.'&insu='.$insu.'"'; ?
>, function(data) {

I also had to rename the file mapback.php so the php would work.

This took me forever but it was rewarding to figure it out on my own.

Steve

On Aug 17, 11:00 am, "[email protected]" <[email protected]> wrote:
> I actually have dyslexia which makes programming very challenging.  I
> corrected the echoxml.php reference to be to echoxml1.php.  Now no
> markers return when you access mapback.htm.  Thanks for looking at my
> code.
> Steve
>
> On Aug 17, 10:01 am, Andrew Leach <[email protected]>
> wrote:
>
>
>
> > On Aug 17, 2:45 pm, "[email protected]" <[email protected]> wrote:
>
> > > If you access the xml creating php file with the following url:
> > >http://www.mytbos.com/geocode/echoxml1.php?subs=all&insu=1thefile
> > > does what it is supposed to do.
>
> > But your GDownloadUrl function in your code snippet is passing
> > parameters "subspeciality" and "insurance" to echoxml.php, not "subs"
> > and "insu" to echoxml1.php. mapback.htm does not use echoxml1.php
> > either.
>
> > Could you provide a consistent set of links which demonstrate exactly
> > what you are having trouble with, please?
>
> > Andrew- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to