How can i validate postcode for Netherlands?

March 22, 2011 at 15:23:05
Specs: Windows Vista
Hello everyone
I've got a form with the postcode field. How can i make sure the postcode which is entered by the user is correct or not.
I have no idea at all how to do it.

i need to do this in php.
could you help

See More: How can i validate postcode for Netherlands?

Report •

March 23, 2011 at 02:19:39
There are two levels of validation. At it's simplest, you just need to check that the code is 4 digits a space and then 2 letters; obviously that's trivial. But that only checks that it's a potential postcode. To check that it is a valid postcode you would have to check it against a database sucah as this one.

Report •
Related Solutions

Ask Question