Jump to content


Breaking (PHP)


3 replies to this topic

#1 Hip Hop Artist

    Young Padawan

  • Members
  • Pip
  • 152 posts
  • Gender:Male
  • Location:Canada

Posted 24 August 2007 - 07:03 PM

Im having trouble figureing out how to break a lin if there are too many characters in it. Wordwrap didnt work.

http://www.toon-workshop.net/portal/view.p...=music&id=1

Thats the url so you can see what my problem is.

#2 Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 24 August 2007 - 07:12 PM

Wordwrap should have worked, how did you use it?

#3 Hip Hop Artist

    Young Padawan

  • Members
  • Pip
  • 152 posts
  • Gender:Male
  • Location:Canada

Posted 24 August 2007 - 07:13 PM

$newrepbody = wordwrap($thisrepbody, 40, "<br />\n");
echo $newrepbody;


#4 cigraphics

    Young Padawan

  • Members
  • Pip
  • 89 posts
  • Gender:Male
  • Location:Pitesti, Romania

Posted 25 August 2007 - 03:44 PM

try with chunk_split()

Edited by cigraphics, 25 August 2007 - 03:45 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users