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

Problems with returning true or false in eval()'d code
Hi guys,

Would appreciate some help with a problem when running eval() on a function that sho

Sessions Value Not Saved
Hi,

Im making a login form and im using this code:
Code: if($login=="true"){

whats wrong with my code please help!!!
this is the error


Warning: mysql_close(): supplied argument is not a valid MySQL-Link res

Not showing whole name with mail () script
I sent up a simple mail form with the PHP mail() script. One problem is when it sends an email with

PHP Tab Control
Hi All,

I would like to have PHP tab control with/without Javascript.

But I want to r

Replacing a string on click of a button
Hi! Is there a way to replace a string on a click of a text link?

This is what I've come up w

Recode Abap Dynpro into Web Dynpro
Hi All,
A client has asked us to look at rearchitecting a custom transaction that was developed

how to validate date using javascript
I need to validate date in textbox using javascript..
The date is must be not greater than TODAY

fire away
i launched about 4 months ago as a lagit co. i have 2 paying clients, 1probono, 1 side progect, and

Splitting Attributes
SQL> SELECT I_NAME, substr(I_NAME,1,instr(I_NAME,'O')) "First part",

substr(I_NAME, IN

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