I have 3 tables: posts, comments, and users. One post has many comments (one to many relation.) Ever...
The blade code below doesn't render posts' id. However the count of posts is 3. Where is the problem...
Hi all, I have a route pattern like 'category/{id}/{year}-{month}-{day}'. How can I render a 404 res...
Hi all, I get x form, I fill it with some value, I submit it to postController of x form, I evaluate...
Hi all, My question is about pagination. I have some posts and some comments for each post. I unders...
I would reject it, becuase I expect user to input comment.
In fact, I am aware of the eager loading solution. But I want to evaluate posts and comments separat...
$comment->links() gives this error: ErrorException Call to undefined method Illuminate\Database\Q...
$posts->comments()->links(); gives following error: ErrorException call_user_func_array() expe...
The Laravel portal for problem solving, knowledge sharing and community building.