Answers for "how to convert a variable with comma to an array in php"

PHP
1

how to convert array to string with commas in php

$string = implode(', ', $tags);
Posted by: Guest on September-12-2020
1

how to convert array to string with commas in php

$tags = implode(', ', array('tag1','tag2','tag3','tag4'));
Posted by: Guest on June-05-2020

Code answers related to "how to convert a variable with comma to an array in php"

Browse Popular Code Answers by Language