Hi Everyone,

I have a list of longitudes and latitudes stored in a mysql database
that I want to display when a certain record is accessed.

I have tried to include the php variables inside the map javascript
like this:

    var hlat = '<?php echo $lat; ?>';
    var hlng = '<?php echo $lng; ?>';

but this does not seem to work. Can anyone explain how I'd do this and
where I'm going wrong?

My example page can be found at:

http://www.hotelsukonline.com/test/liverpool-hotels/hotel-map.php?id=421bf249fceb9182f403

Thanks in advance for the help....

-- 
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