質問編集履歴

1

投稿したスクリプトが間違っていたため、修正してアップしました。

2020/02/09 01:34

投稿

YuzuoOkame
YuzuoOkame

スコア8

test CHANGED
File without changes
test CHANGED
@@ -8,11 +8,19 @@
8
8
 
9
9
  #all.phpファイルの内容
10
10
 
11
+
12
+
11
13
  <?php
12
14
 
15
+
16
+
13
- $pdo=PDO('mysql:host=localhost;dbname=shop;charset=utf8','staff','password');
17
+ $pdo=new PDO('mysql:host=localhost;dbname=shop;charset=utf8','staff','password');
18
+
19
+
14
20
 
15
21
  ?>
22
+
23
+
16
24
 
17
25
 
18
26