example, i have a string = abcdefghijklmnopqrstuvwxyz
then now i need to split into an array and then print as:
a
b
c
d
.........until z
is it something like :
Code:
$msg1 = "abcdefghijklmnopqrstuvwxyz"
$splitstring = split($msg1);
//loop through all items in the array
foreach ($splitstring as $value)
echo "$value<br>";
|