I am pulling email values out of a database and the format is as follows:
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?
 Sun 07.Mar.2010 0:27:35
[kad...@archangel][~/scripts] cat split
echo "$name's email address is $email";
 Sun 07.Mar.2010 0:27:40
[kad...@archangel][~/scripts] php split
John Smith's email address is j...@foo.com
Throw in a foreach() and some data writes or w/e, and you're done.
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php