On Dec 8, 2:28 pm, Stremas <[email protected]> wrote:
> Hello -
>
> I am having trouble populating markers (created with longitude and
> latitude from a MySQL database) with information from the same
> database.
>
> In the code below, if I change the line:
>
> echo "var name = '".$name."';\n";
>
> to:
>
> echo "var name = ' ';\n";
>
> The markers appear on the map but they are blank. With the code below
> nothing appears on the page. Help? You can find a a sample of the page
> (not working) at:http://www.stremas.com/googlemaps/test5.php
>
> Many thanks!

the javascript console in firefox tells me this:
=============================================
Error: missing ; before statement
Source File: http://www.stremas.com/googlemaps/test5.php
Line: 30, Column: 11
Source Code:
var name = Resorts Casino Hotel Atlantic City;
=============================================
Error: initialize is not defined
Source File: http://www.stremas.com/googlemaps/test5.php
Line: 1
=============================================

Look at the javascript that gets sent to the browser, it doesn't have
any quotes around the strings...

  -- Larry

--

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