</tr>
<tr bgColor="#ffffff">
<td><div align="right">时间:<?php echo $row['lastdate'];?></td>
</tr>
<?php } ?>
<tr bgcolor="#f0fff0">
<td><div align="right"><a href=https://www.isolves.com/it/cxkf/yy/php/2019-09-06/"add.html">返回留言
</tr>
</table>
</body>
</html>
创建删除留言del.php页面
<?phpinclude 'conn.php'; $id = $_GET['id']; $query="delete from message where id=".$id; mysqli_query($conn,$query); //页面跳转,实现方式为JAVAscript$url = "list.php"; echo "<script>"; echo "window.location.href=https://www.isolves.com/it/cxkf/yy/php/2019-09-06/'$url'"; echo "";?>
推荐阅读
- PHP编程源代码常见注释规范讲解
- PHP:实现敏感词过滤的方法
- PHP实现冒泡排序
- PHP文件访问时提示http 404错误
- php过滤只保留中文,英文以及数字的方法
- PHP快速搭建本地运行环境
- 淘宝直播评论不显示 淘宝直播被主播禁言还可以评论吗
- PHP的缓冲区你了解过吗
- php读取数据库数据,并以json格式返回数据
- php://output和php://stdout的区别