Jump to content

Archived

This topic is now archived and is closed to further replies.

Cyber

(maybe) simple form handling question

Recommended Posts

Hi.

I have created a form, in this there is a textarea, when user submits the text, it puts it in mysql.
And when i like i can get that text out again where i want.

But the problem is..

If you write this same text in a textarea (new line)
you will see this text without any breaks (line breaks).

Say you write a book, and some lines you need a line break,


like this...

But when i call it back to my sites, all text lines is on one row, and no line breaks.

How can i fix this ?

Thanks :)

Cyber

Share this post


Link to post
Share on other sites
Check the last post on this thread

[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=90480&hl=\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?...topic=90480&hl=[/a]

Lite...

Share this post


Link to post
Share on other sites
so easy, so misunderstood... :P

Thanks m8, sometimes it so hard to just know where to start looking :)

So thanks again.

Cyber

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.