I am trying to create a page that displays the text entered in a form textarea.
I am using my own php Processor to acomplish a complex task prior to loading to database
so far I have within the html on the page
<?php echo "<pre>".$Item_Description."</pre>"; ?>
My problem is that on the submission page text in the textarea box wraps but when the post statement transfers the text ie
$Item_Description=$_POST['Item_Description'];
The text is displayed in one line unless line feeds are placed at the end of each line within the textarea box.
My question is. How do I format and display this text whithin a designated area with line wrapping etc.
|................................|
|................................|
| Say in an area like this |
|................................|
|................................|
Thanks in advance
Terry
I am using my own php Processor to acomplish a complex task prior to loading to database
so far I have within the html on the page
<?php echo "<pre>".$Item_Description."</pre>"; ?>
My problem is that on the submission page text in the textarea box wraps but when the post statement transfers the text ie
$Item_Description=$_POST['Item_Description'];
The text is displayed in one line unless line feeds are placed at the end of each line within the textarea box.
My question is. How do I format and display this text whithin a designated area with line wrapping etc.
|................................|
|................................|
| Say in an area like this |
|................................|
|................................|
Thanks in advance
Terry
Comment