I've got a system setup that takes input through an input text box and stores it in a database. Unfortunatly I need to have symbols, specifically a '. this of coruse will end a string if it's written out, so I need to escape it. Can someone write a statement to seach a string for all the major symbols, and escape them? for example if '"!`@# or anything like that is discovered then add an escape (/ I think) in front of it.
I don't know how to do this.
I don't know how to do this.