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.

how can i do this?

No comments posted yet

Your Answer:

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

Comma seperated implode & modifying returned string.
I have a PHP post form that posts up to 4 variables. I need whatever variables are passed to be comb

Formatting echo from database
So I have a database that stores First and last names, then echos them back to a website, as of now

include problem
I have my root folder as:
Code: $root = $_SERVER["SITE_HTMLROOT"]; // the server root<

puting for loop in 1 value
hi ,

how do i put this code in 1 value:
Code: <?php
for ($i=1; $i<=5; $i

Need help urgant
why down my code ony return one item instead of all the items selected.

$arr = array($date,$

max() problem
I have a while loop to get image names.
Code: $imagequery = mysql_query("SELECT * FROM ad_i

DELETE rows based on content
I have a link in my rows

$bit="http://bit.ly/abcd";
$query = mysql_query("D

DBCA Templates
Hi all,

I'm working on creating a template for DBCA, but can't find any documentation on the

help need on ob_start()
Hi

I am a newbie in php, I have a code
Line number On/Off | Expand/Contract <?phpo

why preg_match_all does not return the number of matches
My regex looks like

X[^x{4e00}-x{9fa5}]*Y

(where X and Y are two Chinese characters)

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