Yes that should be possible.

change searchLocationsNear slighty:

function searchbyFilm() {
  var query = document.getElementById('filmName').value;
  var searchUrl = 'phpsqlsearch_genxml.php?q='+ encodeURIComponent(query);
.....

where filmName is a textbox for the user to enter their query. You
then call this function directly when the user clicks the search box.

Then the PHP code does uses the q param to search the database, mayby
a 'LIKE' or even a Full-Text search on the film name.


On 14/05/2009, idmontague <[email protected]> wrote:
>
>  I am also trying to develop a website that has about 3,000 data points
>  in a database for locations around San Diego.  The data in the
>  database doesn't have an address field but has the lat/lng and a few
>  other fields to identify the point.  I have taken a look at the store
>  locator page and was wondering if anyone knows if it is possible to
>  have the user type in for instance a film name and then the points
>  associated with the film show up instead of having all 3,000 points
>  show up initially.  Thanks for any help.
>
> >
>


-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

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