|
Posted by David Christensen on 10/21/90 11:26
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
Navigation:
[Reply to this message]
|