add slash in php code example Example: addslashes php $str = addslashes('What does "yolo" mean?'); echo($str);