Answer Posted / 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 |
Post New Answer View All Answers
What is php artisan.
How to check column is exists or not in a table using laravel?
Explain extending bindings?
Explain active record concept in laravel.
In which directory controllers are kept in laravel?
What are the directory structure of laravel 5.8?
What is database migration? And how to use it to add insert initial data to database?
What is orm framework?
How to generate a controller with resources in laravel?
How do I use sub-domain routing?
Where will you define laravel's facades?
What is database migration used in laravel 5? Explain
How do I seed my database for column that is a foreign key referencing to other table?
Define homebrew?
What are the steps Redirecting to Named Routes in Laravel ?