回答編集履歴
1
修正
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 = $
|
55
|
+
$stmt = $PDO->prepare($sql);
|
56
56
|
|
57
57
|
$result = $stmt->execute([
|
58
58
|
|