質問編集履歴
2
sql文の訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
```ここに言語を入力
|
10
10
|
|
11
|
-
$sql = "insert into diary values(null, '日付', '".$_POST['title']."', '".$_POST['body'].
|
11
|
+
$sql = "insert into diary values(null, '日付', '".$_POST['title']."', '".$_POST['body']. "楽しかった')";
|
12
12
|
|
13
13
|
```
|
14
14
|
|
1
コンマの抜けを訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
```ここに言語を入力
|
10
10
|
|
11
|
-
$sql = "insert into diary values(null, '日付', '".$_POST['title']."', '".$_POST['body']." "楽しかった')";
|
11
|
+
$sql = "insert into diary values(null, '日付', '".$_POST['title']."', '".$_POST['body'].", "楽しかった')";
|
12
12
|
|
13
13
|
```
|
14
14
|
|