I recently had the same problem.  I found my solution here
http://phpbuilder.com/columns/ying20000718.php3?page=1 
download and unzip ying20000718.zip

You include outputlib.php at the beginning of your php program and wrap
$message
like this 

print_output($message)

it works great!!

Debra Samsom
Bristol Aerospace Ltd.
(204) 775-8331 3402
[EMAIL PROTECTED] 


-----Original Message-----
From: Ben Gillam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 10:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Get the contents of the textarea "as is"


For example, if someone puts the following into a textbox..

"Hi my name is bob smith

and im talking to you now

and hitting enter every now and then"

and the name of the textbox is $message

how could i get it to take the contents of the text box and put it in
$message as is, with blank lines and carrige returns that the user has put
in, becuase as you know that would just come out as

"Hi my name is bob smith and im talking to you now and hitting enter every
now and then"

Any help would be great.
[EMAIL PROTECTED]



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to