title: php string with double quotes echo backslash instead
body: <p>I have this string:</p>
  
  <pre><code>while($this-&gt;stmt-&gt;fetch()){
                  $string=$string.'","'.$idRuolo;
                  $i++;
              }       
              $str= ltrim($string,',"');
  
        $str=stripslashes($str); 
  
              echo json_encode($str);
  </code></pre>
  
  <p>I have tried everything but I can't delete the backslash from the result,
  this is the output:</p>
  
  <p>"2\",\"1\",\"3"</p>
  
  <p>this is what I want:</p>
  
  <p>"2","1","3"</p>