ok.

lets say i have this string:

$string = 'simple sentence with five words';


so if you want to break this sentence into an array you can do this:

$words = explode(' ', $string );


now if you want to display it in an array you can do this:

for( $i = 0; $i < count($words); ++$i )
echo $i.'. '.$words[$i].'
';


OUTPUT:
0. simple
1. sentence
2. with
3. five
4. words