RE: [PHP-WIN] Get the contents of the textarea "as is"

From: Date: Thu, 21 Jun 2001 19:52:16 +0000
Subject: RE: [PHP-WIN] Get the contents of the textarea "as is"
Groups: php.windows 
Request: Send a blank email to php-windows+get-7977@lists.php.net to get a copy of this message
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 dsamsom@bristol.ca -----Original Message----- From: Ben Gillam [mailto:funy_69@hotmail.com] Sent: Thursday, June 21, 2001 10:52 AM To: php-windows@lists.php.net 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. funy_69@hotmail.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#7977) next »