📅  最后修改于: 2022-03-11 14:53:48.830000             🧑  作者: Mango
代码示例2
$sql = "UPDATE users SET name=?, surname=?, sex=? WHERE id=?";$pdo->prepare($sql)->execute([$name, $surname, $sex, $id]);