回答編集履歴
1
説明を追加
test
CHANGED
@@ -7,3 +7,7 @@
|
|
7
7
|
$stmt = $this->dbh->prepare("INSERT INTO cart(user_id,item_id,amount,created_at,updated_at)VALUES(:user_id,:product_id,1,now(),now()");
|
8
8
|
|
9
9
|
```
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
`VALUES(`の閉じ`)`がないのかもしれません。
|