<div class="codetitle"> <span><a style="CURSOR: pointer" data="95194" class="copybut" id="copybut95194" onclick="doCopy('code95194')"><u>复制代码</u></a></span> 代码如下:</div> <div class="codebody" id="code95194"> <br><?php <BR>setcookie('test', 'this is a cookie test'); <br>echo ($_COOKIE['test']); <br>?> <br> </div>上面代码,并不会显示你想要的结果 <br>