I have made a very simple page using google maps API with several fields where users are going to put some data. It looks like following -
http://aiworker2.usask.ca/mark
You can connect to a MySQL database via JavaScript using ActivexObject. Example:
var conn = new ActiveXObject("ADODB.Connection"); var connStr = "Provider=SQLOLEDB;Server=mysite;Database=Northwind;User Id=MyId;Password=123aBc"; conn.open(connStr);