On 17 February 2004 19:44, Shaun contributed these pearls of wisdom:
> However the following code wont let me add any postcode!:
>
> if(!preg_match("/[A-Z]{1,2}[0-9][0-9A-Z]?
> [0-9][ABD-HJLNP-UW-Z]{1,2}/",
> $_POST[postcode])){
>$error = "Invalid Postcode";
>header("Location: add_locatio
"Mike Ford" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 17 February 2004 10:43, Roddie Grant wrote:
>
> > on 17/2/04 10:25 am, Shaun at [EMAIL PROTECTED] wrote:
> >
> > > Hi,
> > >
> > > does anyone know the format of the postcodes in the UK so I can
> > > keep my database acc
On 17 February 2004 12:45, Roddie Grant wrote:
> Hmm, I hadn't actually looked at the JavaScript - just at the
> description of how postcodes are structured. But the link to the
> Royal Mail site is much better for that. If only Royal Mail
> had remembered programmers when they thought up the pos
0161 306 3109
***
-Original Message-
From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED]
Sent: 17 February 2004 12:15
To: 'Roddie Grant'; Shaun; [EMAIL PROTECTED]
Subject: RE: [PHP] UK Postcodes Format
On 17 February 2004 10:43, Roddie Grant wrote:
> on 17/2/0
on 17/2/04 12:14 pm, Ford, Mike [LSS] at [EMAIL PROTECTED]
wrote:
> On 17 February 2004 10:43, Roddie Grant wrote:
>
>> on 17/2/04 10:25 am, Shaun at [EMAIL PROTECTED] wrote:
>>
>>> Hi,
>>>
>>> does anyone know the format of the postcodes in the UK so I can
>>> keep my database ac
On 17 February 2004 10:43, Roddie Grant wrote:
> on 17/2/04 10:25 am, Shaun at [EMAIL PROTECTED] wrote:
>
> > Hi,
> >
> > does anyone know the format of the postcodes in the UK so I can
> > keep my database accurate?
> >
> > Thanks
>
>
> Try http://javascript.internet.com/forms/uk-postcode-v
on 17/2/04 10:25 am, Shaun at [EMAIL PROTECTED] wrote:
> Hi,
>
> does anyone know the format of the postcodes in the UK so I can keep my
> database accurate?
>
> Thanks
Try http://javascript.internet.com/forms/uk-postcode-validation.html
Roddie Grant
[EMAIL PROTECTED]
--
PHP General Mailing
7 matches
Mail list logo