PHP 連接數據庫並進行增刪改查 刪除

刪除: 1、首頁 在foreach裏面加入   <td><a href='dele.php?id={$i[0]}'>刪除</a></td>   在上面<php>里加入  $sql = "select * from student.student WHERE is_delete = 0";  (第二種修改方法時使用) 2、新建dele.php 創建數據庫刪除   <?php $id = $_GE
相關文章
相關標籤/搜索