how to create array from comma separated string in php code example
Example 1: explode comma php
$myString = "9,[email protected],8";
$myArray = explode(',', $myString);
print_r($myArray);
Example 2: character split php
str_split ( string $string [, int $split_length = 1 ] ) : array