$num = $stmt->affected_rows; 受影響的行數 $id = $stmt->insert_id; 當是插入命令時,返回插入的行id(自動) 事務處理 在預設情況下,MYSQL是以自動提交(autocommit) ...
確定! 回上一頁