Re: [PHP] Processing newlines in a text area field

2011-10-14 Thread Stephen
On 11-10-13 10:49 PM, Stephen 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

Re: [PHP] Processing newlines in a text area field

2011-10-14 Thread Stephen
On 11-10-14 04:25 PM, Richard Quadling wrote: On 14 October 2011 03:49, Stephen 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 processin

Re: [PHP] Processing newlines in a text area field

2011-10-14 Thread Richard Quadling
On 14 October 2011 03:49, Stephen 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.

Re: [PHP] Processing newlines in a text area field

2011-10-13 Thread Jason Pruim
Answer below! Jason Pruim li...@pruimphotography.com On Oct 13, 2011, at 10:49 PM, Stephen 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 > >

[PHP] Processing newlines in a text area field

2011-10-13 Thread Stephen
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