Source Code:
(back to article)
<?php $string = "This is a string with 'quotes' and \"double quotes\"."; $escaped_string = addslashes($string); echo $escaped_string; ?>
Result:
Report an issue