Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

keeping returns when info sent with text area

Posted on 2000-04-28
3
Medium Priority
?
157 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 120 total points
ID: 2759814
Glad to help!

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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

688 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