Solved

keeping returns when info sent with text area

Posted on 2000-04-28
3
145 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
  • 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Can't find PHP files on account that has WordPress 3 38
Joomla 2.5 shopping cart 7 30
Diminish Pop-up  in 3 seconds 7 44
removing a class in javascript 4 46
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

792 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