Well $request->all()
is getting the inputs then replacing the input array with any keys from the file inputs, so you are going to keep getting the original file back into your result when calling $request->all()
.
If you just want the inputs, which in your case, you added the filename to them, you can try
$request->input(); // instead of $request->all();
to just get the inputs without the files.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community