You can do like this:

$str = 'helloworld';

echo preg_replace('//', ' ', $str);

this will print out  -> h e l l o w o r l d

Olavi Ivask

> How would I put a space after each letter:
>
> echo str_shuffle(stripslashes(mysql_result($word_result,0,"word"));
>
> Ron



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to