Have a javascript alert like "Are you 100% sure you haven't typed your name
wrong :)"

Other option is to create name dictionary then compare..

----- Original Message -----
From: "Joshua Moore-Oliva" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 11:35 AM
Subject: Re: [PHP] Capitalising Personal Names


> What is someone spells their name Desilva?
>
> On February 28, 2003 06:21 am, Justin French wrote:
> > What about DeSilva And McSomething?
> >
> > Justin
> >
> > on 28/02/03 10:11 PM, Danny Shepherd ([EMAIL PROTECTED]) wrote:
> > > Hi,
> > >
> > > Well it's hardly rocket science - a flick through the manual and I
came
> > > up with :
> > >
> > > $name=ucwords(strtolower($name));
> > >
> > > HTH
> > >
> > > Danny.
> > >
> > > ----- Original Message -----
> > > From: "Geoff Caplan" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Friday, February 28, 2003 10:31 AM
> > > Subject: [PHP] Capitalising Personal Names
> > >
> > >> Hi folks,
> > >>
> > >> I need to clean up the capitalisation of user-entered personal names.
> > >>
> > >> Once you start thinking about it, you realise it is a non-trivial
> > >> issue, but previous discussions on the list presented only very
> > >> partial solutions.
> > >>
> > >> In Perl, there are Cpan modules such as namecase and nameparse which
> > >> handle this quite well. Does anyone have anything similar in PHP?
> > >>
> > >> Thanks
> > >> --
> > >>
> > >> Geoff Caplan
> > >> Advantae Ltd
> > >>
> > >>
> > >> --
> > >> PHP General Mailing List (http://www.php.net/)
> > >> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to