I use utf8mb4 charset and utf8mb4_general_ci collation for Mysql connection. The default length is 2...
Hi I'm trying to get the values of a table that references 2 tables. my tables looks like this pages...
Hi, I am working on my first application. I created two database tables: "leads" and "...
I'm trying to return results from a database that limits the results to ones that aren't already in...
Someone use laravel with doctrine 2? I tried with this package: https://github.com/mitchellvanw/lara...
Hi All, I've been developing a laravel application the last couple months and it's my first ride wit...
Hi All, I have a controller that receives input from a from. My controller handles both the create a...
$rawq= 'SELECT COUNT(*) from `'.DB::getTablePrefix().'table`... blah-blah'; $result = DB::select(DB:...
I am getting the following error when I run an eloquent query: ERROR: operator does not exist: bool...
I am new to using Laravel and Redis together. I'm trying to run the Redis command zscan: $redis = Re...
I'm quite new here and are REALLY stuck on this. So i figured I could give this forum a try... I'm w...
Hey, i'm just starting to plan a laravel project. I have a User-, BranchOffice- and a Company-Model...
Hi guys, This question isn't strictly related to laravel but, as I used it, I'm asking for your sugg...
hi, \n i use save() function for saving detail of table and this is work when i want change default...
Hey everyone, we're trying to figure out how to do what I call "nested relationships" in L...
I have two tables, call them table1 and table2, corresponding to Table1 and Table2 models. Those two...
How to assign value to a variable from an object? public function func() { $valida...
Hey, i have two relational tables, funs and user_votes, user_votes is saving votes for funs, likes o...
Hi, I have problem saving N:M relation data saving. Model 1 "Books": class Book extends \E...
What am I doing wrong? I have a 'Category' model that is the model for my table 'categories'. In the...
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