编辑页面edit.php: <?php$id=$_GET['id'];$db= new mysqli('localhost','root','root','db_0808');$sql="select * from `user` where id={$id} ";$result=$db->query($sql);$data=$result->fetch_assoc();?><!DOCTYPE html><html lang="en&q…
主页index.php(含多条件查询): <?php$db = new Mysqli("localhost","root","root","db_0808");//!empty(mysqli_connect_error())?die("连接错误"):"";$sql = "select * from user where is_delete = 0 ";if(!e…