29 April, 2023
28 April, 2023
Laravel 10.9 Multiple Image Upload In PHP
Programing Coderfunda
April 28, 2023
Laravel
No comments
<form action="uploading.php" method="POST" enctype="multipart/form-data">
<input type="file" name="image_path[]">
</form>
$files = $request->file('image_path');
//upload multipal file one row diffrent name with seprate comma
$i = 0;
if($request->hasfile('image_path')){
foreach ($files as $file) {
// $name = $file->getClientOriginalName();
//with $i help you save diffrent name file
$name = time() . $i . '.' . $file->getClientOriginalExtension();
//movie file in folder location
$file->move(public_path().'/backend/image/',$name);
$datavk[] = $name;
//save data in database with diffrent name with comma
$user->document_name = implode(",",$datavk);
$i++;
}
}
Using attributes to add value
Programing Coderfunda
April 28, 2023
No comments
27 April, 2023
Laravel 10.9 Released
Programing Coderfunda
April 27, 2023
No comments
26 April, 2023
Going past Actions in Laravel
Programing Coderfunda
April 26, 2023
No comments
25 April, 2023
Laravel Vapor application observability with Inspector
Programing Coderfunda
April 25, 2023
No comments
24 April, 2023
Weekly /r/Laravel Help Thread
Programing Coderfunda
April 24, 2023
No comments
23 April, 2023
SpinLock VB.Net Example From MSDN Possibly Produces Incorrect Behaviour
Programing Coderfunda
April 23, 2023
No comments




