Firebug reports:

missing ; before statement in loadmap.php line 211

This is the existing line:

var html = '<b>' + name + '</b> <br/>' + address + '<a
href="lake_profile.php?lake_id=' id '> More Info </a>';

You have a syntax error in fact and need to modify it to something
like this:

var html = '<b>' + name + '</b> <br/>' + address + '<a
href="lake_profile.php?lake_id=' + id + '"> More Info </a>';

I added + before and after id and added a closing " to the anchor tag.

Martin.


On 31 July, 08:09, Adam Kestel <[email protected]> wrote:
> Hello, I am having a problem structuring my html on my marker display
> box.  Maybe its just late, but i can't seem to get it to work.  Maybe
> someone could point me in the right direction.
>
> Here is a link to the issuehttp://www.fishthatbite.com/loadmap.php
>
> This is the line I need help with
>
>  var html = '<b>' +  name + '</b> <br/>' + address + '<a
> href="lake_profile.php?lake_id=' id '> More Info  </a>';
>
> The  link with the id that I am trying to make is not working.  If it
> just have   var html = '<b>' +  name + '</b> <br/>' + address + id ;
> it works just fine and shows the id number on the marker on the map.
> Let me know if there is a better way to make a link for more info with
> the id.  Thanks, Adam
--~--~---------~--~----~------------~-------~--~----~
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