PHP删除

<?php
$db=new MySQLi("localhost","账号","密码","数据库名");
$sql="delete from 表名 where 条件"; 
 $db->query($sql);
header("location:文件名"); //返回哪个文件
?>
原文地址:https://www.cnblogs.com/zbxiaoxu/p/5477028.html