Link to home
Start Free TrialLog in
Avatar of kch011099
kch011099

asked on

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?
Avatar of knightEknight
knightEknight
Flag of United States of America image

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.
Avatar of kch011099
kch011099

ASKER

That worked great. Use it as an answer so that you can get full points.
ASKER CERTIFIED SOLUTION
Avatar of knightEknight
knightEknight
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial