PHP To Embed Single Quote In Singly Quoted String, Escape It With Backslash – String Function

 
    <?$singly_quoted = 'This quote mark\'s no big deal either';echo ($singly_quoted);
?>

Enjoyed this post? Share it!

 

Leave a comment

Your email address will not be published.