Re: [PHP] stripped \n

2013-02-20 Thread Jim Lucas
On 02/20/2013 10:16 AM, John Taylor-Johnston wrote: Hi, I have a when submitted creates a new form with the textarea data in a hidden field: But when this new form gets resubmitted, the \n get stripped? I don't get it. There is nothing in my code that is stripping the \n? "> Do I need t

Re: [PHP] stripped \n

2013-02-20 Thread Ashley Sheridan
On Wed, 2013-02-20 at 13:47 -0500, Jim Giner wrote: > On 2/20/2013 1:32 PM, Matijn Woudt wrote: > > On Wed, Feb 20, 2013 at 7:16 PM, John Taylor-Johnston < > > john.taylor-johns...@cegepsherbrooke.qc.ca> wrote: > > > >> Hi, > >> I have a when submitted creates a new form with the textarea > >> da

Re: [PHP] stripped \n

2013-02-20 Thread Jim Giner
On 2/20/2013 1:32 PM, Matijn Woudt wrote: On Wed, Feb 20, 2013 at 7:16 PM, John Taylor-Johnston < john.taylor-johns...@cegepsherbrooke.qc.ca> wrote: Hi, I have a when submitted creates a new form with the textarea data in a hidden field: But when this new form gets resubmitted, the \n get s

Re: [PHP] stripped \n

2013-02-20 Thread Daniel Brown
On Wed, Feb 20, 2013 at 1:32 PM, Matijn Woudt wrote: > > An input with type=text is used for single lines, so yes, newlines get > stripped. > Either use a textarea with style="display: none", or store the data in a > session instead. Or at least . -- Network Infrastructure Manager http://w

Re: [PHP] stripped \n

2013-02-20 Thread Matijn Woudt
On Wed, Feb 20, 2013 at 7:16 PM, John Taylor-Johnston < john.taylor-johns...@cegepsherbrooke.qc.ca> wrote: > Hi, > I have a when submitted creates a new form with the textarea > data in a hidden field: > > > > But when this new form gets resubmitted, the \n get stripped? > > > > I don't get it.

[PHP] stripped \n

2013-02-20 Thread John Taylor-Johnston
Hi, I have a when submitted creates a new form with the textarea data in a hidden field: But when this new form gets resubmitted, the \n get stripped? I don't get it. There is nothing in my code that is stripping the \n? value=""> Do I need to put it in another textarea and declare it