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