Level 55
You've got $user->fill(Input::except(array('thumbnail')));, is that not it?
I`m trying to save an image besides the user datas to the upload folder and store the filename to the database. Currently the image save is working but the image name is not passed to the database. What do i wrong ?
$user = User::findOrFail($id);
$user->fill(Input::except(array('thumbnail')));
$image = Input::file('thumbnail');
$path = 'uploads/'.$user->id.'';
$filename = $image->getClientOriginalName();
$upload = $image->move($path, $filename);
$user->save();
ok solved it.
instead of using $upload you have to use $news->thumbnail
Please or to participate in this conversation.