Creating Tables in Info Windows for MySQL Data
Hi!
I am working on a website where I get users to submit their data into
my online database via a marker listener table. I then give users the
chance to view what others have submitted through info windows showing
certain fields of the initial table. You can see what I mean at the
following address.
http://pippin.geog.mcgill.ca/acton/manual/
I am wondering if it is possible to create a table in the info windows
which connect to my mysql database? I have tried creating tables using
HTML in the javascript for "var html =" but it doesn't seem to work.
Here is what is currently being called up!
var html = "<b>Nom:</b>" + nom + "<br/>" +
"<b>Municipalité:</b>" + municipalite + "<br/>" +
"<b>Secteur:</b>" + secteur + "<br/>" +
"<b>Commentaires:</b>" + commentaires + "<br/>" +
"<b>Autres informations:</b>" + autres;
I am looking for a more structured way of displaying each field and
result.Any pointers would be appreciated!
--
You received this message because you are subscribed to the Google Groups "Google Maps API" group.
To post to this group, send email to google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to google-maps-api+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home