I have a form field that when submitted, becomes the message/body of a mail() command. The form field is a 'textarea' with virtual wrap. I am having trouble with getting line breaks to transfer correctly to the email. Sometimes it becomes a single paragraph in the email.
I am also having trouble getting rid of the slashes before an apostrophe. For example: [tt]Diane's car[/tt] becomes [tt]Diane\'s car[/tt].
Can anyone give me a pointer?
I am also having trouble getting rid of the slashes before an apostrophe. For example: [tt]Diane's car[/tt] becomes [tt]Diane\'s car[/tt].
Can anyone give me a pointer?