I get a slash before my single quotes...what the hell ?
Posted: Tue Aug 20, 2002 10:59 pm
Hi guys, I have a form that people can send me messages with, I just take the message, make it a string and use the mail() function. But if they enter something like "I've" it comes out: I''ve with a slash.
Do I have to pass it through a function to parse the quotes, kinda like when you make an SQL query string ? What if they use double quotes like "Death", or even a combo of single and double quotes like "Death's Kid" ?
What should I do ? Thanks.
Do I have to pass it through a function to parse the quotes, kinda like when you make an SQL query string ? What if they use double quotes like "Death", or even a combo of single and double quotes like "Death's Kid" ?
What should I do ? Thanks.