質問編集履歴

1

書籍の改善

2020/07/30 19:12

投稿

nguyenseiji
nguyenseiji

スコア156

test CHANGED
File without changes
test CHANGED
@@ -46,7 +46,7 @@
46
46
 
47
47
 
48
48
 
49
- require_once("../confidential/detabaseAccses.php");
49
+ require_once("../confidential/detabaseAccses.php");
50
50
 
51
51
 
52
52
 
@@ -56,11 +56,21 @@
56
56
 
57
57
 
58
58
 
59
- $stmt = $dbh->prepare("SELECT MIN(id) FROM hagoli");
59
+ $stmt = $dbh->query("SELECT MIN(id) FROM hagoli");
60
60
 
61
61
 
62
62
 
63
+
64
+
65
+
66
+
63
- $id = $stmt->execute();
67
+ $id = mysql_fetch_assoc($stmt);
68
+
69
+
70
+
71
+
72
+
73
+ print $id;
64
74
 
65
75
 
66
76