Forums
This topic is locked
paragraph formatting
Posted 08 Oct 2001 20:18:49
1
has voted
08 Oct 2001 20:18:49 Keith Slater posted:
What is the easiest way to have paragraph formatting?? When people enter text into a box you can return it but it will be one paragraph. I know if they type it in and put paragraphs in it and everything you can you use <pre> command and return it just how it was typed but if they typed long sentence or paragraph anf didnt hit enter it makes it one long sentence and the table expands to it.. So then what is the solution?? Thanks again.Keith Slater
Replies
Replied 09 Oct 2001 17:59:48
09 Oct 2001 17:59:48 Tim Green replied:
Check out the String functions in the PHP manual. Particularly the wordwrap() function.. this should point you in the right direction.
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Tim Green
Extension & PHP TalkZone Manager
<font size=1>-------------------------------------------
<i>Please read the Forum FAQ before posting
a question to this TalkZone.</i>
-------------------------------------------
www.UDzone.com : A dynamic Dreamweaver,
Ultradev and Fireworks site for developers
by developers.
-------------------------------------------</font id=size1>
Replied 09 Oct 2001 22:21:39
09 Oct 2001 22:21:39 Bruno Mairlot replied:
You might also found this link interesting :
morannon.the-infinite.org/archive/php/word_wrap
It is given in the online PHP manual.
"First they laugh at you, then they fight you, then you Win..." Ghandi
morannon.the-infinite.org/archive/php/word_wrap
It is given in the online PHP manual.
"First they laugh at you, then they fight you, then you Win..." Ghandi