I have a system whereby you can go and create different documents. From a select list, I could selec...
I have the following challenge, trying to join 3 tables in Laravel 5: I have a many-to-many relation...
I have two table: Rooms Facilities The Facilities rooms contains the id and a varchar column. The...
Hello guys, i have this mysql query for counting something in my controller $count = 0; foreach ($d...
My directory structure is CBridge->app->Models->Companies In companies.php I have below cod...
Hi. I am trying to retrieve data from a table called users. The data is not showing,though. How do I...
i want to insert multiple rows in the database on one click if row is checked using multiple checkbo...
I used the toArray() method to transform my query results into an array, but I want some of the fiel...
Dear reader, I am building a simple group chat application. The architecture is like this: User(Admi...
Hello everybody, i am brand new to Laravel and i am wondering about the "best practice" ho...
Hi there, I want to show subcategories in the system tree. But I could not. Can you help me in direc...
I use Laravel 5 and i have the following folders on my server: /var/www/laravel_dev/ /var/www/larave...
select obl.ownedbooklistid from bookinfo, ownedbooklist owl where (bookinfo.bookid = owl.bookid) and...
Suppose you have a many-to-many relation between two models, let's say Post and Tag, and you want to...
I'm using Laravel 4 and I'm trying to create a gallery page that when you click on an image that ima...
I have placed the image named java01 in projectname/public/img and called it java01 in the database....
Hi I have a discount table that starts from 0-100. The second entry is 0.5. This is how is seed the...
singers table <?php use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrati...
Hello, I'm using the DB::getQueryLog() to create a logging page in my application but for some reaso...
Hi there, I get stuck at building the models and relationships for my app. I need: bond model user...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community