How to create view Laravel - File Uploading ?
Answer / sunil kumar
Create a view file called resources/views/uploadfile.php and copy the following code in that file.
resources/views/uploadfile.php
Example :
<html>
<body>
<?php
echo Form::open(array('url' => '/uploadfile','files'=>'true'));
echo 'Select the file to upload.';
echo Form::file('image');
echo Form::submit('Upload File');
echo Form::close();
?>
</body>
</html>
| Is This Answer Correct ? | 0 Yes | 0 No |
Does laravel prevent sql injection?
Tell us have you used lumen before?
What is monolog library?
Tell me what are pros and cons of using laravel framework?
What is Testability ?
How to write php code in laravel blade?
How to extend a layout file in laravel view?
What is crud in laravel?
How can I learn laravel fast?
What do you mean by make() method?
How to configure clear route cache in laravel?
What is laravel vue?