Hi,
I've written a simple script that allows the user to type a message into a form field and then send that message to my email address.
I've used stripSlashes on the message, which works great for single quotes. However, when the message contains a double quotation mark I get an email that shows everything up until the first double quotation mark was typed and then nothing appears.
e.g. If the user types this :
Blah blah 'blah' blah "blah" this is my message.
I only get sent this:
Blah blah 'blah' blah
Is there a way of preventing this from happening?
Thanks
Chris