Hi,
What I am trying to do is enter HTML code into a variable and then pass it along to another script with POST to have it used as the HTML content with PHPmailer. As soon as my HTML code that i paste into the textarea contains double quotes it messes up the data in the variable.
I have been reading about special chars and htmlentities. But how do I process that variable before passing it along with POST? Do i have to use Javascript for that or is there another way?
Here is an abstract of what I currently have:
<form action='mailtest.php' method='post'>
<TEXTAREA name='mainhtmlmessage' rows='100' cols='120'></TEXTAREA>
<input type='submit' value='Next'/>
Hope someone can point me in the right direction.