what is the function that takes Dan McCullough and makes it McCullough, Dan?
There's no function to do that. It's just a matter of splitting the string on the space, reording the parts, and adding the comma...
http://us2.php.net/substr http://us2.php.net/strpos http://us2.php.net/explode etc...
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php