On 14 October 2011 03:49, Stephen <stephe...@rogers.com> wrote:
> I have a web page with a form with a text area. I enter:
>
> foo
>
>
> bar
>
> PHP processes the POST and inserts the record into MySQL.
>
> The database field is text.
>
> I use PDO
>
> For testing I have removed any processing of the text area content.
>
> Now, no matter how many blank rows I have between foo and bar, in the
> database record, I always get a single newline character.
>
> I am using Firefox 7.0.1.
>
> Is this normal behaviour? I want to be able to enter more than 1 newline.
>
> Thanks
> Stephen

What is the wrap attribute set to on the textarea?

-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

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

Reply via email to