gungsukma2··on How to Avoid SQL Injections, XSS Attacks, and File Upload Attacks in Web Apps> So the company value will be stored like this: ' or '=' instead of this " or ""="No, if they enter '"', store it as '"' in your database (maybe by using '\"' in the query), serve it as ''' in html ('"', actually).