R
Red Eye Media
- Original Poster
- #1
Hopefully someone can help.
I'm currently sorting out postcodes and scripts so I can add a radius search function to a directory.
My question is about the format of a UK postcode.
My database has the first part of the postcode and the long / lat etc of that postcode.
If a person enters a postcode, would removing the last 3 digits give me the area code part of the postcode?
An example.
I live in Tunbridge Wells and my postcode is: TN23SG
If someone entered something like : TN227FH which is in Ashford.
Or maybe, there's a better way.
Thanks for your help.
I'm currently sorting out postcodes and scripts so I can add a radius search function to a directory.
My question is about the format of a UK postcode.
My database has the first part of the postcode and the long / lat etc of that postcode.
If a person enters a postcode, would removing the last 3 digits give me the area code part of the postcode?
An example.
I live in Tunbridge Wells and my postcode is: TN23SG
If someone entered something like : TN227FH which is in Ashford.
Or maybe, there's a better way.
Thanks for your help.
