Im currently working on a small script for my website it is powered by a MYSQL DB and I have come in to one big problem…
I have created a function to stop those pesky MYSQL injection’s but it likes to remove all ‘ from the text that I input.
Only problem is that I can’t use it as punctuation how could I stop it form replacing ‘ with \’
So sentences like
Joe’s blog’s are amazing!!!
Joe\’s blog\’s are amazing!!!
All help is very much appreciated!