php turn string into array code example
Example 1: explode comma php
$myString = "9,[email protected],8";
$myArray = explode(',', $myString);
print_r($myArray);
Example 2: string to array in php
print_r(explode(',',$yourstring));
Example 3: string to array php
str_split ( string $string [, int $split_length = 1 ] ) : array