title: Php mysqli real escape string add back slashes
body: <p>I have a text field that stores a value in database. When I input inverted commas i.e <strong>" "</strong> or apostrophe i.e. <strong>''</strong> it automatically adds back slash to my string. How to remove back slashes or inverted commas and apostrophe?</p>
  
  <pre><code>&lt;?php
  if (empty($_POST['video_title'])) {
          $error[] = 'You must enter a video title';
      } else {
          $vid_title =  mysqli_real_escape_string($conn, $_POST['video_title']);
      }
  ?&gt;
  </code></pre>