由于单引号,我在以下代码中收到 php 错误。
<?PHP $annoc=echo '<div id="announcement" class="announcement'.$rid1.'">
<div id="AContent"><span style="margin:0px 0px 0px 20px;">'.strip_tags($notify).'</span>
<div style="float:right;">
<span class="remind" onclick="announce('.$rid1.','.$userID.','Remind')">
Remind me later</span>
<span class="dont" onclick="announce('.$rid1.','.$userID.','Dont');"> Don't show me this
again</span></div></div></div>';?>
请让我知道我做错了什么?