David Christensen wrote:
I am?  That news to me???  I just did a 'grep nl2br form.php' and I
don't any output with nl2br.  I'm not sure this is what's going on.

I did see that function in the "Strings" section of the manual, but it
didn't do anything for me.


Well, php isn't making it up, it has to be somewhere. Or are you using any htmlarea kind of input? We need to see your form.php to help you.


On Thu, 2005-05-05 at 16:11 +0200, Marek Kilimajer wrote:

David Christensen wrote:

Actually, I forgot to also mention that the browser is changing the
control-M (^M) from the query when it sets the default value for the
textarea to "<br />".  I guess that is the HTML representation of the
^M.

you are using nl2br() on the input, that funcion adds '<br />' before all newline characters.




-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to