獲得預處理對象$stmt = $mysqli->prepare($sql); //綁定參數第一個參數為綁定的數據 ... $stmt->execute(); */ //插入的id 多次插入為最後id echo $stmt->insert_id; ...
確定! 回上一頁