How to show a complete textarea ??


Posted on 16th Feb 2014 07:03 pm by admin

I enter Client Case Notes notes in a textarea field on a PHP form. The field is 5 rows deep and 70 chars wide , using the scroll bar to see beyond 5 lines.

After entering notes, I want to echo or print the entire textarea without the scrollbar so that i do File Print to print out the complete notes. The problem is that using Print or Printf of the textarea variable prints a stream all on one line, with no newlines - this is too wide to print out for longer notes.

Did you know?Explore Trending and Topic pages for more stories like this.
how can i do this?
No comments posted yet

Your Answer:

Login to answer
260 Like 53 Dislike
Previous forums Next forums
Other forums

if php cookie set, show code...
Hi all.. I need to figure out this little snippet right quick.. seems like it should be easy enough

how to query data from website using VC?
I want to query some datum from a website,so I need a program to read data from a .csv file, and ass

using variables in another page
I have a test database set up on localhost. I have a form that I can type a name into, hit the butto

1,000 select boxes with 100 options?!
I have 1 drop down select box with 1,000 options.


In some case, there will be 100+ of the

Firefox displaying PHP source code??
Currently testing a site thats almost built, am going to be including php on a sidebar on all pages

Hit counter updating once per IP - IP HIT COUNTER
I have a hit counter, for the amount of views on a tutorial.
It'll do the query and then do..

Remove values in array2 from array1
I have two arrays.

Array 1 is where the array key holds various different numbers. For exampl

Securing a user input - need some confirmation
Hello All,

I am in the process of recoding a large proportion of an e-commerce site, one of t

Image upload - determine folder
I have an upload script that may be accessed from different directories. Problem is, the script is m

Limiting uploaded file type
Hi. First post here
I am working on a simple upload script, and I need it to limit the allowed f

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash