Display Length

I have a quick question I think.

I have a PHP page all set up to accest comments from users. However, when I display they content the parapraph is in one line off the screen. How can I make the page display the text in a nice paragraph format?

Example
(what happens now)
asdf jkl; asdf jkl; asdf jkl; asdf jkl; asdf jkl; asdf jkl; asdf jkl; asdf jkl; asdf jkl; asdf jkl; asdf jkl; asdf jkl; asdf jkl; asdf jkl; asdf jkl;

(what I want)
asdf jkl;asdf jkl;asdf jkl;asdf jkl;asdf jkl;
asdf jkl;asdf jkl;asdf jkl;asdf jkl;asdf jkl;
asdf jkl;asdf jkl;asdf jkl;asdf jkl;asdf jkl;

Any help would be great!!!

Use (HTML) line breaks. Visit http://www.w3schools.com for HTML tags.

I tried that but it is not pre formatted text its a guest book. When I try the HTML tags it does not seem to work.

What exactly do you mean with ‘it’s not preformatted’? You’re doing PHP right? Or are you looking for nl2br()?

Sponsor our Newsletter | Privacy Policy | Terms of Service