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

修改 1、首先,建立一個修改頁面(edit.php),加入表單(也可與增加頁面的表單同用) <?php $id = $_GET['id']; $db = new Mysqli("localhost","root","root","student"); $sql = "select * from student.student WHERE Sno = {$id}"; $result =
相關文章
相關標籤/搜索