摘要: 删除: 1、首页 在foreach里面加入 <td><a href='dele.php?id={$i[0]}'>删除</a></td> 在上面<php>里加入 $sql = "select * from student.student WHERE is_delete = 0"; (第二种修改方法时使 阅读全文
posted @ 2017-10-20 12:05 奥特曼打不过的小怪兽 阅读(597) 评论(0) 推荐(0) 编辑
摘要: 增加 首先,建立一个主页面(crud.php) 一、增加 1、建立add.php ,插入表单 2、在addpost.php里做数据库增加处理 测试一下: 1、主页 2、点击 增加用户 增加内容 3、点击 提交 ,看一下 4、完成 ^-^ 阅读全文
posted @ 2017-10-20 10:11 奥特曼打不过的小怪兽 阅读(560) 评论(0) 推荐(0) 编辑