a guest Jan 20th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- $sql = "UPDATE info SET ? = 5 WHERE `id` = ?";
- $query = $pdo->prepare($sql);
- $query->execute([$value, $id]);
RAW Paste Data