stripped \n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I have a <textarea> when submitted creates a new form with the textarea data in a hidden field:

<input name="DPRnarration" type="text" hidden form="DPRform" value="Enter call

narration here.">

But when this new form gets resubmitted, the \n get stripped?

<input name="DPRnarration" type="text" hidden form="DPRform" value="Enter callnarration here.">

I don't get it.

There is nothing in my code that is stripping the \n?

<input name="DPRnarration" type="text" hidden form="DPRform" value="<?php echo stripslashes($_POST["DPRnarration"]);?>">

Do I need to put it in another textarea and declare it hidden?

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux