So, I ran through the API tutorial to create a store locator, and it
worked like a charm. I have a MySQL database with 1000 or so
locations, and using the API example, I have everything set up to
search by address, grab the locations from the database and show them
on a map. That works perfectly.....

But now I want to add a field to search by name.

The client is a vodka producer. They want people to be able to search
by location (give me the nearest liquor store that has the product)
but also by store name (hey, I live by Joe's Liquor store, do they
have it?).

So, the name of the store is in the db, but how do I do a search by
it? I don't even know where to begin.

Here's the page that works to find a location by address:
http://www.doublecrossvodka.com/locator/find_restaurants.php

That page hits the 
http://www.doublecrossvodka.com/locator/phpsqlsearch_genxml_restaurant.php
page

Any ideas?

Thank you so much.

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