Posted by Ian Davies on 07/29/06 23:42
Hello
I have a string of varying length, lets call it $mystring.
I wish to break it up and put it in the following form
echo"<span
class='myclass'>".1st_30chars_$mystring_to_nearest_word."<br>".2nd_30chars_$
mystring_to_nearest_word."<br>".....etc....last_lot_of_chars_of_$mystring."<
/span>";
does anyone know how to do this
Ian
Navigation:
[Reply to this message]
|