here you go, hehe hope it helps!
<?php
function ChopChop($get_string)
{
// Split string and put into array
for($n=0; $n<=strlen($get_string); $n++)
{
$getchar = substr($get_string,$n,1);
$char_array[$n]=$getchar;
}
// display chars
foreach($char_array as $char)
print $char;
}
ChopChop("TESTING CHOP CHOP!!");
?>
but I suppose this would be alot easier, hehe;
$gstring = "HELLO";
for($n=0; $n<=strlen($gstring)-1; $n++)
print $gstring{$n};