There's a function just for that
PHP Code:
$string = 'Hello there!';
$array = str_split($string);
print_r($array);
The above will output:
Code:
Array
(
[0] => H
[1] => e
[2] => l
[3] => l
[4] => o
[5] =>
[6] => t
[7] => h
[8] => e
[9] => r
[10] => e
[11] => !
)
So the function you need is str_split. You can also choose to split the string every 2 letters, 3 letters, or whatever you desire, but the default will split every letter into it's own array key.
View
PHP.net for more info.