質問編集履歴
2
DB
test
CHANGED
File without changes
|
test
CHANGED
@@ -166,7 +166,7 @@
|
|
166
166
|
|
167
167
|
|
168
168
|
|
169
|
-
create table
|
169
|
+
create table favorite_tbl(
|
170
170
|
|
171
171
|
user_id int(10) not null,
|
172
172
|
|
1
HTML部分を追加しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -35,6 +35,24 @@
|
|
35
35
|
### 該当のソースコード
|
36
36
|
|
37
37
|
```
|
38
|
+
|
39
|
+
<!DOCTYPE html>
|
40
|
+
|
41
|
+
<html>
|
42
|
+
|
43
|
+
<head>
|
44
|
+
|
45
|
+
<meta charset="UTF-8">
|
46
|
+
|
47
|
+
<title>投稿詳細</title>
|
48
|
+
|
49
|
+
</head>
|
50
|
+
|
51
|
+
<body>
|
52
|
+
|
53
|
+
<?php require 'menu.php';?>
|
54
|
+
|
55
|
+
<?php
|
38
56
|
|
39
57
|
$pdo = new PDO('mysql:host=localhost;dbname=fps;charset=utf8','staff','password');
|
40
58
|
|
@@ -118,6 +136,10 @@
|
|
118
136
|
|
119
137
|
}
|
120
138
|
|
139
|
+
?>
|
140
|
+
|
141
|
+
<?php require 'footer.php';?>
|
142
|
+
|
121
143
|
```
|
122
144
|
|
123
145
|
### データベース
|