View Full Version : Agency Locator

03-22-2007, 05:10 PM

Anyone have an idea on how this is done?

I would like to use this for our website... but am unsure how its done, and need a head start if possible. I have the database already from a previous attempt. Thanks..

03-22-2007, 06:05 PM
Any Idea?

03-22-2007, 06:16 PM
Patience is a virtue.

Anyways; as for your question, the way it is done is similar to this. It gets the information the the end user types into the form, after that, gets sent to the processor (spelling?) to call the database. The query would look something like this:

$query = "SELECT * FROM `table` WHERE `zipcode` LIKE '$zip%'";

(Of course the above will need some modification to work for your needs).

Hope this helps.