Solved

keeping returns when info sent with text area

Posted on 2000-04-28
3
153 Views
Last Modified: 2010-04-09
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?
0
Comment
Question by:kch011099
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 33

Expert Comment

by:knightEknight
ID: 2759778
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
 

Author Comment

by:kch011099
ID: 2759806
That worked great. Use it as an answer so that you can get full points.
0
 
LVL 33

Accepted Solution

by:
knightEknight earned 30 total points
ID: 2759814
Glad to help!

<PRE>
hi
my
name
is
</pre>
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question