Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Internet.com:
Plotting Map Markers Dynamically Using the Google Maps API, jQuery, PHP, and MySQL
Feb 18, 2010 @ 15:44:25

On Internet.com there's a new video tutorial showing you how to work with the Google Maps API and PHP to create a Google map with multiple points plotted from the coordinate data held in a MySQL database. The example doesn't use any sort of framework to get the job done - just straight PHP.

The Google Maps API makes it trivially easy for anybody to create a custom Web-based map, complete with features such as event handlers, route directions, and sophisticated overlays. However, the genesis of many such features stems from your ability to easily add map markers and store the corresponding coordinates within a database such as MySQL.

Unfortunately, there's no link to the sample code, so you'll just have to follow along on-screen. He does make it easy to tie the three technologies together - PHP, MySQL and jQuery - and make a simple multi-point map system. It's flexible too and can be easily extended to include more information in each of the map points (like a name for the location).

tagged: mysql jquery tutorial googlemaps plot

Link:


Trending Topics: