I am a current student and don't know much about where to even begin with this. :SI am working on a website for a friend and they want the visitor to be able to put in their zipcode and a list be generated with the nearest stores. Is this something that can be achieved with just PHP? Any help/coding is appreciated! I don't even know what the coding would look like for this...?? Thanks for your help!
ryanwhite17 0 Newbie Poster
Recommended Answers
Jump to PostThe way this is done, is using a database of zipcodes with geographic information attached, latitude and longitude.
Given a user's zipcode, its a matter of finding all zipcodes within a certain distance, say 10 miles, and then any store which has a location within those zipcodes.
Here …
Jump to PostI disagree seeing as how that is not the way a zipcode is structured.
First digit is the state assignment
Second and Third are the regional processing facility (not the region)
Fourth and Fifth represent the town, or area within a large enough city.Within a 10 mile …
Jump to PostLet me differ a little bit
1. Learn PHP
2. Learn MySQL
3.
All 10 Replies
MindSter 1 Junior Poster in Training
mschroeder 251 Bestower of Knowledge Team Colleague
ryanwhite17 0 Newbie Poster
MindSter 1 Junior Poster in Training
mschroeder 251 Bestower of Knowledge Team Colleague
benjaminFowl87 7 Junior Poster in Training
ryanwhite17 0 Newbie Poster
mschroeder 251 Bestower of Knowledge Team Colleague
benjaminFowl87 7 Junior Poster in Training
Stefano Mtangoo 455 Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.