Thank you all for your helpful suggestions. implode() is the command I needed, and I've applied syntax similar to Matt's suggestion.
My problem is now solved.
Your responses are all much appreciated.
-- Dave Gutteridge dave@xxxxxxxxxxxxxxx
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php