How do I insert a "\" character in front of any inputed single quotes ?
I have a form with a textarea input field used for entering customer Notes. I use a third party tool to SQL insert a row, (including that TEXTAREA input), into a custom table. There are many PHP examples that exist , but none that I can find in SMT. My users will enter a word like "don't" or "O'Neill" and of course MySQL gets upset with the "extra" single quote.
I have a form with a textarea input field used for entering customer Notes. I use a third party tool to SQL insert a row, (including that TEXTAREA input), into a custom table. There are many PHP examples that exist , but none that I can find in SMT. My users will enter a word like "don't" or "O'Neill" and of course MySQL gets upset with the "extra" single quote.
Comment