Hi, i am trying to pass variable to raw sql query and it gives me an error. My query: DB::select(DB:...
Can Anyone help me with this issue? I'm new to laravel and would like to know how to resolve this. F...
I really hope someone can help, I'm setting up entrust and trying to manage roles via an edit users...
How do I use date_format? I can't figure out how to format a date from YYYY-MM-DD that's stored in m...
Hello! I have actors collumn in movies table and all actors are saved in following way: actor1, acto...
I have brand new database and i want to make a normal foreign key relationship now i get the error:...
I have a problem with seeding a belongsTo-relationship. My code is the following: // the Model Compo...
Is it possible to get first Nth ojects in foreach loop. For example i have foreach loop with movies...
I am trying to Join multiple tables and get results I have now 2 tables 1- projects_info (id - pro_t...
Good day, I'm new to laravel and have been attempting to figure out how on earth to do a multi-way r...
I want to show on the page data from two tables but with a little condition and I can't figured it o...
I am trying to write functional tests for my app. I am using Laravel 5.2 and Codeception. I have a s...
Is there any way to force Eloquent models to re resolve the connection they were instantiated with?...
I get this error when I try to edit my users array_merge(): Argument #2 is not an array I've tried...
Hi dd my array looks like this: array:8 [▼ 0 => "promo\1\images\2.jpg" 1 => &quo...
Hello, Here is my Row Query to get the data from database. $user = DB::table('users')->get(); I w...
I have a method that returns all the current user's blogs. User hasMany Blogs and Blog belongsTo Use...
In native PHP it takes about 2 minutes to link each product on the page to its product_details page...
I would like to insert a large number of rows into my database using chunks, but I am not sure I am...
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.