Hello..
I've been searching over the internet and i got to modify the code that was given to me by thorpe.
<?php
$s = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque hendrerit accumsan turpis, vitae rutrum quam cursus id. Sed quis pulvinar eros. Integer vel tellus turpis. Donec tortor dolor, convallis in mollis et, rhoncus eu lacus. Etiam quam risus, fringilla ac tempor in, congue vel felis. Mauris eu luctus augue. Fusce nisl neque, convallis a posuere a, ultricies et metus.';
$a = explode(' ', $s);
$myarray[] = array_shift($a);
foreach($myarray as $bv => $ms){
echo $ms;
}
?>
the error is that, all i get as the result was the word "Lorem" that in fact i would like to remove it.. I really would like to get this result after using the code above..
<?php
ipsum
dolor
sit amet, consectetur adipiscing elit. Pellentesque hendrerit accumsan turpis, vitae rutrum quam cursus id. Sed quis pulvinar eros. Integer vel tellus turpis. Donec tortor dolor, convallis in mollis et, rhoncus eu lacus. Etiam quam risus, fringilla ac tempor in, congue vel felis. Mauris eu luctus augue. Fusce nisl neque, convallis a posuere a, ultricies et metus.
?>
can someone help me? I will also work on my own to solve my problem but i need help from you guys..
thanks