質問編集履歴

2

更新

2017/08/29 05:42

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -51,3 +51,15 @@
51
51
  }
52
52
 
53
53
  ```
54
+
55
+ ```html
56
+
57
+ <form method="POST" action="{{url('')}}" enctype="multipart/form-data">
58
+
59
+ <input type="file" name="file[]" multiple="multiple">
60
+
61
+ <button type="submit">送信</button>
62
+
63
+ </form>
64
+
65
+ ```

1

コード更新

2017/08/29 05:42

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -15,6 +15,8 @@
15
15
  ```php
16
16
 
17
17
 
18
+
19
+ public function uploadfile() {
18
20
 
19
21
  $files = $_FILES['file']['name'];
20
22
 
@@ -46,4 +48,6 @@
46
48
 
47
49
  }
48
50
 
51
+ }
52
+
49
53
  ```