回答編集履歴

1

修正

2020/04/23 07:28

投稿

退会済みユーザー
test CHANGED
@@ -52,7 +52,7 @@
52
52
 
53
53
  $sql = "UPDATE news SET day = :day, title = :title, kind = :kind, body = :body WHERE id = :page";
54
54
 
55
- $stmt = $dbh->prepare($sql);
55
+ $stmt = $PDO->prepare($sql);
56
56
 
57
57
  $result = $stmt->execute([
58
58