Removes slashes added by addslashes().
This function removes backslashes used to escape characters. stripslashes() is the reverse of addslashes().
<?php
$s = "SELECT * FROM table WHERE msg = 'Don\'t do it'";
print stripslashes($s);
?>
SELECT * FROM table WHERE msg = 'Don't do it'
The backslash is removed from the query.