title: how to prevent from sql injection for text boxes on both sides client / server
body: <p>I have a problem with text boxes.</p>
  
  <ol>
  <li><p>When a user writes something in a text box, it will save it but sql query or bad text or some thing automatically injected into the database, I didn't know what is happening to it; it saves false data in the database.</p></li>
  <li><p>I am thinking that sql was automatically injected by the format of text.</p></li>
  </ol>
  
  <p>Can anyone provide me with a solution for this?</p>
  
  <p>I can't restrict my text box for special characters, this is why I am facing so many problems.</p>