Results 1 to 3 of 3

Thread: Agency Locator

  1. #1
    Join Date
    Oct 2006
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Post Agency Locator

    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..
    Last edited by lesham; 03-22-2007 at 04:46 PM.

  2. #2
    Join Date
    Oct 2006
    Posts
    21
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Any Idea?

  3. #3
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    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:

    Code:
    $query = "SELECT * FROM `table` WHERE `zipcode` LIKE '$zip%'";
    (Of course the above will need some modification to work for your needs).

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •