skip to Main Content

laravel leftjoin on json

I have Raw query running as select meeting.id, GROUP_CONCAT(users.name separator " | ") AS present_user_id from `meeting` left join `users` on JSON_CONTAINS(meeting.present_user_id, JSON_ARRAY(users.id), '$') group by `meeting`.`id` Which provide proper result, I tried to convert same in Laravel 8 like…

VIEW QUESTION

FPDF with Laravel

I am attempting to use the FPDF (http://www.fpdf.org/) PHP addon for my website that uses Laravel. I want to be able to dynamically create a PDF. I have stored the libraries' files in the folder: '/public/vendor'. This is what I…

VIEW QUESTION

Laravel 8 dd() limitations

how can I increase the laravel 8 dd() limitations? I have lots of nested relationship and I cant view most of them due to many data. For example this #relations: array:4 [▼ "activecourses" => IlluminateDatabaseEloquentCollection {#1346 ▼ #items: array:3 [▼…

VIEW QUESTION

Laravel 9: Can't write image data to path

I'm using Laravel 9 for making a forum project. Now for this project, I need to upload some images. So at the Controller, I added this: if($request->has('filep')){ $files = $request->file('filep'); foreach ($files as $file) { $this->uploadImage($file, $questionCreated->id, 'question_image'); } }…

VIEW QUESTION
Back To Top
Search