Re: [PHP] Parse a string containing name and email

2010-03-06 Thread Kevin Kinsey
Don wrote: Hi, I am pulling email values out of a database and the format is as follows: John Smith I need to parse the string into two variables as such $name = John Smith $email = john.sm...@somedomain.com What would be the easiest way to do this? Thanks. [36] Sun 07.Mar.2010 0:27:35 [

[PHP] Parse a string containing name and email

2010-03-06 Thread Don
Hi, I am pulling email values out of a database and the format is as follows: John Smith I need to parse the string into two variables as such $name = John Smith $email = john.sm...@somedomain.com What would be the easiest way to do this? Thanks. -- PHP General Mailing List (http://www.p