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 |
What are view creators?
what are Important Points contracts in Laravel ?
What is the best backend for react?
How to create custom library in laravel?
What is a soft delete?
What do you know about service providers in laravel?
What getfacadeaccessor method does?
How to generate application key in laravel?
What is a laravel model?
How to stop mysql on valet?
What is report method?
Explain important directories used in a common laravel application.