回答編集履歴
1
修正
test
CHANGED
@@ -19,3 +19,11 @@
|
|
19
19
|
0. 結果を返す
|
20
20
|
|
21
21
|
0. NG→エラーメッセージをJavaScriptで表示 OK→formをサブミット(actionはindex2.phpのまま変えなくて良いです
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
蛇足:
|
26
|
+
|
27
|
+
[前の質問の回答](https://teratail.com/questions/199898#reply-295935)にも書いたかもしれませんがbindParamよりbindValueのほうを利用してください。
|
28
|
+
|
29
|
+
[bindParam()とbindValue()の違い](https://qiita.com/_dozen_/items/f6239cf1bdab6f8b0026) のような記事にて言及されていますがbindParam()には副作用があるためです。
|