SyntaxFix
Write A Post
Hire A Developer
Questions
$letters = array("a", "b", "c", "d", "e", "f", "g"); // this array can n no. of values $result = substr(implode(", ", $letters), 0); echo $result
output-> a,b,c,d,e,f,g