回答編集履歴

1

修正

2016/08/09 09:41

投稿

qwe001
qwe001

スコア133

test CHANGED
@@ -48,7 +48,7 @@
48
48
 
49
49
  $test_positions -> position = $i;
50
50
 
51
- $test_positions -> text = $request -> text . $i; // Viewのname属性のtext1,text2,text3のvalueを順にtextカラムにセット
51
+ $test_positions -> text = $request -> input('text' . $i); // Viewのname属性のtext1,text2,text3のvalueを順にtextカラムにセット
52
52
 
53
53
  $test_positions -> save(); // 一度のstoreでtest_positionsテーブルに3つのレコードを登録
54
54