keeping returns when info sent with text area

I am using a text area to send some information, but it won't hold the returns.

Example:
--------------------
Input:
hi
my
name
is

Output:
hi my name is
--------------------

How can I get it to keep the returns?
kch011099Asked:
Who is Participating?
 
knightEknightConnect With a Mentor Commented:
Glad to help!

<PRE>
hi
my
name
is
</pre>
0
 
knightEknightCommented:
If you are viewing the output as HTML, then you can use the <PRE> tags around it:

<PRE>
hi
my
name
is
</pre>

This will keep the returns when viewed by in a browser.
0
 
kch011099Author Commented:
That worked great. Use it as an answer so that you can get full points.
0
All Courses

From novice to tech pro — start learning today.