Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $stmt = $conn->prepare("UPDATE `diensten` SET `titel` = ':titel', `content` = ':beschrijving', `img` = ':img' WHERE `diensten`.`id` = ':id'");
- $stmt->execute(array(':title' => $titel, ':beschrijving' => $beschrijving, ':img' => $img, ':id' => $id));
- $stmt = $conn->prepare("
- UPDATE `diensten`
- SET `titel` = :titel,
- `content` = :beschrijving,
- `img` = :img
- WHERE `diensten`.`id` = :id");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement