Re: Keeping newlines when sending form

From: Date: Tue, 12 Sep 2000 19:54:42 +0000
Subject: Re: Keeping newlines when sending form
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-16434@lists.php.net to get a copy of this message
At 09:51 PM 9/12/2000 +0200, Carlo van Herwaarden wrote: where you want a new line use \n ~kurth
Hello, I'm trying to send a form textfield to my php script with something in it like this. bla bla and bla (notice the empty lines) bla bla bla bla If i echo the form data all the newlines are gone and it will look like this bla bla and bla (notice the empty lines) bla bla bla bla Is there a way to keep the returns or find them and then replace them with <br> when echoing or storing in my mysql dBase? I want to use it to store pages of text with all the returns intact. Carlo -- 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
Kurth Bemis - Network/Systems Administrator, USAExpress.net/Ozone Computer kurth@usaexpress.net http://www.usaexpress.net/kurth ICQ - 6624050 Call Sign - N1TYW PGP key available - http://www.usaexpress.net/kurth/pgp Fight Weak Encryption! Donate your wasted CPU cycles to Distributed.net (http://www.distributed.net)

« previous php.general (#16434) next »