php quotes code example
Example 1: php quotations within quotations
<?php
echo '<span onclick="$(this).addClass(\'selected\');"> </span>';
?>
Example 2: how to put php code in single quotes
how to put php code in single quotes
<?php
echo '<span onclick="$(this).addClass(\'selected\');"> </span>';
?>
how to put php code in single quotes