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 ***

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



Reply via email to