To remove \
characters that are used as an escape characters, use the stripslashes
function.
david@raston ~ $ cat tmp/test.php
<?php
$raw = 'double slash \\\\ escaped quote \"';
print $raw;
print "\n";
print stripslashes($raw);
?>
david@raston ~ $ php tmp/test.php
double slash \\ escaped quote \"
double slash \ escaped quote "