回答編集履歴
1
追記
test
CHANGED
@@ -7,3 +7,13 @@
|
|
7
7
|
$stmt = $this->dbh->prepare(" SELECT user_name,password WHERE user_name = :user_name ");
|
8
8
|
|
9
9
|
```
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
エラーメッセージは必ずきちんと読みましょう
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
[google翻訳](https://translate.google.com/?client=tw-ob#en/ja/You%20have%20an%20error%20in%20your%20SQL%20syntax;%20check%20the%20manual%20that%20corresponds%20to%20your%20MariaDB%20server%20version%20for%20the%20right%20syntax%20to%20use%20near%20'WHERE%20user_name%20')
|
18
|
+
|
19
|
+
> SQL構文にエラーがあります。 'WHERE user_name'付近で使用する正しい構文については、使用しているMariaDBサーバーのバージョンに対応するマニュアルを調べてください。
|