In PHP, how do I convert:
$result = "abdcef";
into an array that\'s:
$result[0] = a; $result[1] = b; $result[2] = c;
You can use the str_split() function
str_split()
$array = str_split($string); foreach ($array as $p){ echo $p . "<br />"; }