Reply to Re: [PHP] control-M

Your name:

Reply:


Posted by Marek Kilimajer on 05/05/05 21:08

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.
>>
>>

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация