Page 1 of 1

Line Break

Posted: Sun Sep 01, 2002 3:41 pm
by ding chavez
line break


ok i made the news thing... posting works...Viewing works


but if i leave a long post it runs off the page how do i make it so after the text reaches certain length it starts a new line instead of runing off the page. :?: :?: :?:

to understand what im saying goto http://www.dingdesign.net/news/

post a real long message(username and password dont matter)
then goto http://www.dingdesign.net/news/view6.php

Thanks

Posted: Sun Sep 01, 2002 3:59 pm
by volka
hmm...IE wraps the words and keeps the table at 75% width.
Which browser do you use?

Posted: Sun Sep 01, 2002 4:06 pm
by gotDNS
set a definate pixel width or something....unless the messag it one continuous, non-spaced string, then it'll wrap correctly in your happy little defined size box.

later on, -Brian

Re: Line break

Posted: Mon Sep 02, 2002 6:27 am
by gite_ashish
Hi,

When i tried to open the site, somehow, i was not getting the pages on specified URL for view page i got 404 !

You can use wordwrap() to forcefully cutdown the lines after specified number of characters.

See PHP man for details:

:idea: http://www.php.net/manual/en/function.wordwrap.html


Regards,