I'm try to add autocomplete to a form and it's not showing the results plus it's saying that 2 rows...
Hello guys, I have some posts. How can i display for example on profile page just the posts of a spe...
Hi, I want to display a value from my model, but it always gives me '0' as an integer while the colu...
I'm struggling to get my head around migrations at the minute. I have an existing table with a forei...
Inside my function that is triggered by the 'created' model event, my object id is 0. My id column i...
I have tried in tinker cli: Schema::drop('pages') but it just drops the table 'pages', how can i dr...
Hi all, I have 3 tables: books, authors, and publishers. Books-authors and authors-publishers have o...
I need help writing a query in eloquent from three tables, where fields table, field_value and users...
I am simply just doing this $me = \Auth::user(); return $me->program()->get(); GIVES me; Inva...
Hi, into a migrations file, is it possible to define a logical view creation? or just only normal ta...
I have a lot of form fields on my html page, so how can i quickly map each form field name to its co...
hi i have multiple categories and each category has many posts, i want fetch 4 last posts for each c...
I've seen some threads that are potentially similar (e.g. http://laravel.io/forum/05-01-2014-eloquen...
fakhriahmedoff liked this thread
I can't "translate" the SQL Query below to Laravel, how I can make this? SELECT SUM(transa...
#What is Laravel Single table inheritance? Laravel Single table inheritance is a Laravel4 package to...
Hello, I am making a community site for pet lovers and I am facing a design question. Lets say I hav...
I need to be able to execute mysql queries that utilize tables from more than one database in the sa...
Hello guys, I'm trying to make a post with comments system but i'm stuck at the part with relationsh...
Hi there, today I was re-doing the structure of my application and I had this problem: 1 table conta...
object(Illuminate\Database\Eloquent\Collection)#651 (1) { ["items":protected]=> array(8...
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