php escape double quotes code example
Example 1: php quotations within quotations
<?php
echo '<span onclick="$(this).addClass(\'selected\');"> </span>';
?>
Example 2: how to print any string in double quotes in php
$web = "...if (url.contains(\".mp4\"))..."