PDA

Click to See Complete Forum and Search --> : What is this called?


M @
06-29-2007, 02:05 PM
I need to add a field on my website where a client could put in their zip code and it would produce a list of retailers in their area that carry our product. Is this a php/asp bundle you can download and install or something you have to code?

As always, thanks
m@

mattbing
06-29-2007, 02:10 PM
Yeah you'd need to code it, it's a pop-down. I think it's javascript right? But you'd need a code that can figure out the PC and then the locations.

M @
06-29-2007, 02:30 PM
Doesn't it use some sort of database sytem on your server though?

CkretAjint
06-29-2007, 02:42 PM
*chuckles*

Needs more cowbell!

tZ
06-29-2007, 02:49 PM
So you want a field that people can enter a zip code then check a database for stores with related zips- correct? - If so you you would need a database like mysql and server side scripting. You could probably pull it off with a serverside language using a array or something to hold all the stores location and info but, then you would need to put together a sort algorithm for the zips. The only reason you would need javascript would be to validate or use ajax- where it gets a list without being reloaded. If you know php or asp and are desperate you could probably pull it off with arrays and sort algorithms. Probably not the best way to it but, it would be easier then learning sql.

M @
06-29-2007, 03:21 PM
So there isn't an "easy" way like Natemail that I use for my form processor? That makes me :(

My next thought would be to complie an entire list and use simple show/hide or anchors to point to the correct place in the list. The "boss" doesn't want the entire list accessable with just one click though. Do you think show/hide layers is the best method to display only the area that a client chooses?