Restoring fomat of textarea submission before email via php
Posted on 2008-06-22
I have a simple form submitted that includes a textarea. If the user adds multiple carriage returns to open up white space in the submission, I need to preserve that formatting when the script recieves it via post and processes it for email to me.
Right now, php removes all the line breaks and new lines and sends me the concatenated paragraph.
The name of the textarea is "message" and so I am attempting to access it through $_REQUESTmessage]. But all the newlines and returns are already removed from that variable.
I've tried to find this answer everywhere, please help.