Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Code a directory to find nearest locations?
Old 11-09-2010, 08:33 AM Code a directory to find nearest locations?
feraira's Avatar
BeTheBand!

Posts: 350
Trades: 0
Hi Guys,

Today my challenge is to create a directory using a database (no problem), but be able to use a search area to find the nearest result to that area.

For example, I live in Bradford. My aim would be to find the nearest location (in the database) to me.

How do I go about this, using a database or source code? I have looked on google and can't fathom out what to search for!

Thanks in advance.
feraira is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-09-2010, 11:03 AM Re: Code a directory to find nearest locations?
Extreme Talker

Posts: 181
Name: David Jackson
Trades: 0
I guess you could use a postcode service. The Post Office offer up a postcode database (flat file I think) but its expensive.
__________________

Please login or register to view this content. Registration is FREE
davidj is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Code a directory to find nearest locations?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31227 seconds with 12 queries