RE: [PHP] textarea -- what happens to my new lines

From: Date: Thu, 03 May 2001 12:34:38 +0000
Subject: RE: [PHP] textarea -- what happens to my new lines
Groups: php.general 
Request: Send a blank email to php-general+get-51258@lists.php.net to get a copy of this message
Thanks for the idea, it didn't work, let me just explain a bit further! this is a simple version of the code input.htm:: <form name="form" method="get" action="show.php"> <textarea name="textfield" cols="45" rows="5" wrap="HARD"></textarea> <p> <input type="submit" name="Submit" value="Submit"> </form> show.php:: <?php echo $textfield; ?> When I put in : 1 2 3 4 I get: 1 2 3 4 how do I fix this ( want it to appear like it was typed!)? Regards Lars Stampe -----Original Message----- From: heinisch@creaction.de [mailto:heinisch@creaction.de] Sent: 03 May 2001 12:44 To: Stampe, Lars; php-general@lists.php.net Subject: Re: [PHP] textarea -- what happens to my new lines At 13:10 03.05.01 +0200, you wrote: > >I am making a e-card page, and I am having a problem with with my message >box which is a <textarea> when I am previewing or saving/recalling the text >all the newline characters are gone. Any good ideas! > >Thanks >Lars Stampe Try <textarea name="foo" rows="10" cols="50" wrap="physical"></textarea> this make "hard" LF´s Oliver -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#51258) next »