Re: Switching First & Last Names in List

From: Date: Tue, 16 Mar 2004 15:30:39 +0000
Subject: Re: Switching First & Last Names in List
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-180550@lists.php.net to get a copy of this message
Take a look at explode() www.php.net/explode Neil Jeff Oien wrote:
*********************************************** This Email Has Been Virus Swept *********************************************** If I have a list like this: Firstname1 LastName1 Firstname2 Lastname2 etc. I can split the names by \n to put them into an array which will then be output into an <option> list for a form. But how do I reverse the names so that the last name is first? Also, how do I handle people with three names? Thanks. Jeff Oien
-- ---------------------- www.curvedvision.com ---------------------- This communication is confidential to the intended recipient(s). If you are not that person you are not permitted to make use of the information and you are requested to notify the sender immediately of its receipt then destroy the copy in your possession. Any views or opinions expressed are those of the originator and may not represent those of Advanced System Architectures Ltd. *** This Email Has Been Virus Checked ***

« previous php.general (#180550) next »