I am trying to create a map on my website so visitors can add a marker
on the map and include their name, address, and comments, etc.  I want
these markers to be visible to everyone who visits the site, without
requiring signing in or anything.

Right now I have both sides working correctly as separate pages:

This page lets me add new markers and info, and writes the info to my
SQL database:
http://www.johnmmartin.com/phpsqlinfo_add.html

This page pulls the info from that same SQL database and plots the
locations on the map:
http://www.johnmmartin.com/phpsqlajax_map.htm

I am not great with Javascript, or any of this code for that matter.
I know the data is being written to the database because I can check
that from my admin site (and it pulls in to the map that shows the
markers).  I tried combining the javascript and html code for the two
pages, but I could only get one or the other to work (never both), or
nothing at all would show up.  Here is what I currently have after
trying to combine the two:
http://www.johnmmartin.com/maptest2.html

Any ideas?  I tried loading 2 functions with the onload command, but
still nothing.  Any ideas or direction is much, much appreciated!
Thanks!

Mac

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