Skip to content

Instantly share code, notes, and snippets.


Moiz Baloch Moix1

  • Karachi Sindh Pakistan
View GitHub Profile
Moix1 / Laravel 5.6 Multiple Images Upload Issue
Last active Jun 1, 2018
I have problem in insertion of data with Laravel 5.6 ,I have controller In which I have written my code for storing form data after submission, In side this form I have three types of Image selection, mainPhoto as Single Image selection, otherPhotos multiple, fashionPhotos multiple and arabicPhotos also multiple, When i try to fill form and subm…
View Laravel 5.6 Multiple Images Upload Issue
public function store(Request $request)
return $request;
$mainPhoto = $request->file('mainPhoto');
$otherPhotos = $request->file('otherPhotos');
$fashionPhotos = $request->file('fashionrPhotos');
$arabicPhotos = $request->file('arabicPhotos');
$slug = str_slug($request->name);
You can’t perform that action at this time.