Re[2]: [PHP] Capitalising Personal Names

2003-02-28 Thread Geoff Caplan
Dave, DOM> Maybe a script that tests the entry, and asks the user to reconfirm DOM> nonstandard spelling and capitalization. Something like... In many situations this would, I agree, be the ideal solution. But this is for an ecommerce checkout, and the customer feels it is important to make it a

Re[2]: [PHP] Capitalising Personal Names

2003-02-28 Thread Geoff Caplan
John, JWH> The best solution I see is to start building yourself some JWH> arrays... Looks like a sensible approach, at least for the kind of rough and ready solution I need. My only comment would be to make use of the placement of the words. If the names are fielded ( first_name, middle_name, l

Re[2]: [PHP] Capitalising Personal Names

2003-02-28 Thread Geoff Caplan
Joshua, JMO> Make a perl script that does what you want and use exec to pipe to it then :) This is certainly a sensible solution. But I'd have to learn enough about Perl to do it. And I think it would be slow for large volumes of names - exec seems to be slow in general, for some reason. It woul