To embed a single quote in a singly quoted string, escape it with a backslash
<? $singly_quoted = 'This quote mark\'s no big deal either'; echo ($singly_quoted); ?>