I have a MySQL database with a table full of geographic points, latitudes and longitudes. I want these coordinates displayed on a Google map as points. Is it possible for JavaScript to directly access the database or would I need to do that first using PHP?
Share
You would need some sort of server side language to be involved. Likely ajax/json request or pulling an XML file and looping through the data. If you’re more comfortable with PHP you would loop through your results within a
scripttag: