Answers for "how to get comma separated values from database in php"

PHP
4

array to string separated by comma php

$arr = array ( 0 => "lorem", 1 => "ipsum", 2 => "dolor");

$str = implode (", ", $arr);
Posted by: Guest on September-22-2020
0

show comma separated numbers in php

$number = 8887;
echo number_format($number);
//Output:-
//8,887
Posted by: Guest on September-10-2021

Code answers related to "how to get comma separated values from database in php"

Browse Popular Code Answers by Language