text with single quotation insert into php code example Example: addslashes php $str = addslashes('What does "yolo" mean?'); echo($str);