<td width="88" align="center" bgcolor="#FFFFFF"><span class="STYLE2"><a href="uparticle.php?id=<?=$id?>&title=<?=$title?>&content=<?=$content?>&bigclass=<?=$bigclass?>&image=<?=$image?>&admin=<?=$admin?>&isshow=<?=$isshow?>&_?<?=time()?>" target="_self">修改</a> <a href="deleteArt.php?id=<?=$id?>;" onclick="return ConfirmDel();">删除</a></span> </td>上面那段语句中的&content=<?=$content?>这个部分,$content是从数据库中取出的,但是字段还有类似<table>等语句后,他后面的部分就完全在页面中原样输出了,链接就只有删除有用了,就是把后面的排版全弄乱了,不知道怎么解决这个问题,有点人说要用编码,可是我是个新手,不大会用啊,请高人指点啊!!!
<td width="88" align="center" bgcolor="#FFFFFF"> <span class="STYLE2"> <a href="uparticle.php?id= <?=$id?>&title= <?=$title?>&content= <?=$content?>&bigclass= <?=$bigclass?>&image= <?=$image?>&admin= <?=$admin?>&isshow= <?=$isshow?>&_? <?=time()?>" target="_self">修改 </a> <a href="deleteArt.php?id= <?=$id?>;" onclick="return ConfirmDel();">删除 </a> </span> </td>把 < > 替换成<>& & 试试
下面的代码value="<?=$content?>"这个部分
<INPUT id=content style="DISPLAY: none" type=hidden name="welefen" value="<?=$content?>"> <INPUT id=content___Config style="DISPLAY: none" type=hidden> <iframe id=content___Frame src="FCKeditor/editor/fckeditor.html?InstanceName=welefen&Toolbar=Default" frameborder=0 width=100% scrolling=no height=500> </iframe>
不多的话,用base64_encode($content)加码,接收端用base64_decode($content)解码。
不知道是不是这个意思。