PHP addslashes Function
PHP addslashes Function escape the string characters are single quote (‘), double quote (“), backslash (\) and NUL (the NULL byte).
Example for PHP addslashes Function
<?php
$str = “How to learns from w3htmlschool ‘s tutorials ?”;
echo addslashes($str);
?>