質問編集履歴
1
あああ
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
$sql = "SELECT * FROM test LIMIT ? ,
|
29
|
+
$sql = "SELECT * FROM test LIMIT ? , 20";
|
30
30
|
|
31
31
|
$stmt = $pdo->prepare($sql);
|
32
32
|
|
@@ -34,7 +34,7 @@
|
|
34
34
|
|
35
35
|
|
36
36
|
|
37
|
-
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[]:
|
37
|
+
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax;
|
38
38
|
|
39
39
|
|
40
40
|
|
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
|
44
44
|
|
45
|
-
$sql = "SELECT * FROM test LIMIT 10 ,
|
45
|
+
$sql = "SELECT * FROM test LIMIT 10 , 20";
|
46
46
|
|
47
47
|
$stmt = $pdo->prepare($sql);
|
48
48
|
|