On 2/20/2013 1:16 PM, John Taylor-Johnston wrote:
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?
Let me understand this logic.
You have a form that gathers some text from a field and then you submit
that form to a script that wants to put it back out in a hidden field on
a new form? Is that it in a nutshell?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php