tablica do ciągu oddzielonego przecinkiem php
$arr = array ( 0 => "lorem", 1 => "ipsum", 2 => "dolor");
$str = implode (", ", $arr);
Tough Tapir
$arr = array ( 0 => "lorem", 1 => "ipsum", 2 => "dolor");
$str = implode (", ", $arr);
$myString = "9,[email protected],8";
$myArray = explode(',', $myString);
print_r($myArray);
$tags = implode(', ', array('tag1','tag2','tag3','tag4'));
$string = implode(', ', $tags);
$number = 8887;
echo number_format($number);
//Output:-
//8,887
Array to comma separated string