Thanks Martin. Greg just told me in private to look for nl2br and
through that I found wordwrap() (without "_") which helped me.

Thanks to both of you. C.

> -----Original Message-----
> From: Martin Towell [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 15, 2002 2:06 AM
> To: 'CÚsar Aracena'; 'PHP General List'
> Subject: RE: [PHP] BREAK into the DB
> 
> there's a function "word_wrap()" (or is it "wordwrap()", something
like
> that
> anyway) that'll help you there.
> 
> -----Original Message-----
> From: CÚsar Aracena [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 15, 2002 3:00 PM
> To: 'PHP General List'
> Subject: [PHP] BREAK into the DB
> 
> 
> Hi all. I have this DB where I'm storing this sometimes large amount
of
> text into a TEXT field, but I can't seem to find the way to BREAK
lines
> so it won't make my browser go 3000 pixels wide when that text is
> printed. About this, I have two questions:
> 
> 1) What should I use to break the text into lines at the DB so HTML
can
> read them fine? and
> 2) How should I make the TEXT INPUT BOX so the visitor doesn't have to
> type <br> or something after 20 words or so? Is there a way that PHP
can
> count and break text strings by itself prior storing?
> 
> Thanks in advance,
> 
> Cesar Aracena
> CE / MCSE+I
> Neuquen, Argentina
> +54.299.6356688
> +54.299.4466621
> 
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to