Anyone can help show me how i can split the string "abcdef" for example. I want it to be store into array[0]=a, array[1]=b and so on.
As I know, split function only works on detecting some spaces or characters but all these are are in a word.
You can access characters in a string just like elements in an array.
$str = "abc"; echo $str[0];
this code outputs "a".
Hope this helps.
the split fucntion splits a string whenever it matches a criteria. if you give an empty criterea, it will split around every character.
$splitted=preg_split("//",$string);