<a href='show.php?status=del&sendid=$id'>这里,$id并没有包含在<??>中~~没有被服务器解析~~也就不是其相应的数据~~

解决方案 »

  1.   

    我已包含在<??>中了,
    用的<?
    print"<a href='show.php?status=del&sendid=$id'>
        <img src='../images/icon_del.gif' width='12' height='12' alt='删除此条信息' border='0'>
    </a> ";
    ?>
    否则
    if($status=='del'){
    不会执行的
      

  2.   

    你看看:x=window.confirm('删除后其他人将不能看到你发送的信息,要删除吗?')
            if (x==true)