php Convert String containing commas to array

106

$myString = "9,[email protected],8";
$myArray = explode(',', $myString);
print_r($myArray);
$string = implode(', ', $tags);

Comments

Submit
0 Comments