I know there have been many posts about this in the past, however the
sql provided in the article is not correct.  I was hoping someone
could shed some light.  the problem is that the sql statement is
lacking the necessary input parameters to use to calculate the actual
distance as it is right now all records in the database will be
returned because the query takes no input and uses the stores lat and
long to calculate the distance only.  Does anyone know which of the
lats and lngs in the query need to be replaced with the input lat and
long from the location of the person doing the search?

Here is the article
http://code.google.com/apis/maps/articles/phpsqlsearch.html


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