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...
Hello everyone mi name is jose and may help me , i have the following error in "php artisan mi...
Hello! I would like to learn how to integrate custom logic to a model property. For example, some re...
Hi, Can anyone please tell me how to go about this? I have some old php pages which are forms postin...
Hello. I'm still learning Laravel and I want to remove the row with lowest id from my database. I tr...
I need to insert a student who belogs to a user table. I have something like: DB::transaction(functi...
Hello! I'm running a Laravel application on an Ubuntu server with Nginx on a Raspberry Pi. For some...
I always want to play safe when there is a delete or update query in the database through web applic...
Hey guys, I made a thread yesterday, regarding an issue I had with my application. I have managed to...
How do I search for a partial match in a SQL database with Laravel?
Hi I've been reading docs, Code Bright book, googling and asking (on irc) about If I could be able t...
It seems like there is a problem when using forceDelete() on a table with no "deleted_at"...
I am using Route::model('user', 'User') in my project. This works completely fine if I created table...
I've been learning Laravel today and went to dive into creating my first Model and ModelController (...
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.