yah that example is good... I already checked it before
please help me
i want to know how to get this on a local machine with mysql to store the locations????
which locations? the destinations (in which case you are downloading data from your database) or the starting points (in which case you are saving data to your database?
either way, if you want to run it locally (ie, not as a publicly accessible web page), I would check google's TOS (particularly section 9.1)