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 |
Do you know laravel service container?
Explain few features of laravel?
how do I install laravel, talk about the different ways?
What is the default session timeout duration?
What do you mean by bundles?
How to pass multiple variables by controller to blade file?
What do you mean by binding in laravel?
How to install laravel?
Explain binding a singleton?
What is the laravel?
How do I perform dependency injection in laravel?
Explain the events in laravel?