Pardon my ignorance and lack of ability to form the right search for
google, but I'm trying to figure out if there's a simple function in PHP
to convert array values to a string with a separator for each value.

eg.

$arr = array(1, 5, 2);
$str = <some_funct>($arr, ',');

print $str;  # "1,5,2"



Thanks for your help,

David Christensen

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

Reply via email to