PDA

View Full Version : Agency Locator



lesham
03-22-2007, 04:10 PM
http://www.farmersagent.com/engagent.aspx?tab=1

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

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

thetestingsite
03-22-2007, 05: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.