substring to array php code example
Example 1: string to array in php
print_r(explode(',',$yourstring));
Example 2: string to array php
str_split ( string $string [, int $split_length = 1 ] ) : array
print_r(explode(',',$yourstring));
str_split ( string $string [, int $split_length = 1 ] ) : array