Support the ongoing development of Laravel.io →
posted 9 years ago
Forms
Last updated 2 years ago.
0

Try using this form template:

{!! Form::open(array('url' => '/postDev' , 'files' => true ,'enctype'   =>  'multipart/form-data' )) !!}
    {!! Form::text('title', null , ['class' => "form-input" ] ) !!
    {!! Form::file('image1','',array('id'=>'','class'=>'')) !!}
    {!! Form::submit('Send', array('class' => 'btn-right')); !!}
{!! Form::close() !!}
Last updated 2 years ago.
0

Thanks for your reply, and sorry for my late answer.

I used a more drastic approach, I reinstalled Laravel in a new folder and copied views, controller configfiles etc (the project isn't bigger than it's possible yet). Don't know what the problem was but it did work after that.

Last updated 2 years ago.
0

I'm glad it worked after all :)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

lillfisken lillfisken Joined 28 Oct 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.