php - Input::File() displaying 'NULL' when using mini ajax file upload plugin in laravel -
i have form mini ajax file upload plugin.. , trying submit form file other input fields.
when using upload plugin without using other input fields plugin working fine.. when save field values first , upload files afterwards giving null value..
url form : http://visualquotes.co.nz/record-job
working fine when using this
$file = input::file('upl'); var_dump($file); $new_user = new user; $new_user->name = input::get('name'); $new_user->email = input::get('email'); $new_user->save();
not working
$new_user = new user; $new_user->name = input::get('name'); $new_user->email = input::get('email'); $new_user->save(); $file = input::file('upl'); var_dump($file);
after use input::get(), file value null.. need help??
can show please view?
think have add form if using illuminate/html
'files' => true
Comments
Post a Comment