Support the ongoing development of Laravel.io →

4,311 Threads

DIsplay row if date column = todays date

I have a table of 'tips' which have many columns one of which is a date column.... The tips that are...

0 Likes
1 Replies

Retrieving all data from connected foreign table columns

Hey, I have one table which is connected with others with foreign keys. Order table: order_id custom...

0 Likes
0 Replies
posted 9 years ago

Override Convention On Relationship Mapping

I am looking at moving a project off of CI 2, and would really like to use ORM. The problem I have i...

0 Likes
1 Replies

Sorting by an Accessor?

I'm trying to sort on the value of an accessor, but I'm not entirely sure where to put it. The attac...

0 Likes
0 Replies
posted 9 years ago

Pagination

Hi all my dear Laravel Buddies, i have an issues with Pagination, i have an custom template for Pagi...

0 Likes
0 Replies

Foreign Key

hi i want to set foreign key for post table and user table but throw below error : [Illuminate\Da...

0 Likes
1 Replies

Problem with eager loading with pivot table and specified ids

I have User, Tag, Offer models. Every Offer can have multiple Tags and they are written in TaggedAs...

0 Likes
8 Replies
Solved

Is there a better way to retrieve unassigned relationship models?

Hello, I am trying to get a list of all unassigned addresses to be displayed in a combo-box for the...

0 Likes
2 Replies
Solved

Undefined property: Illuminate\Database\Eloquent\Collection::$item

hi every body i have problem with viewing database my User class has public function item() { retu...

0 Likes
4 Replies

Get subcategories if they available in categories

I'm retrieving data from two tables which are categories and subcategories. categories cat_id contai...

0 Likes
0 Replies

Paginator won't work standalone

I'm using standalone Illuminate/Database 5.0. The docs say to enable pagination all you need is $all...

0 Likes
2 Replies

"Serialization of 'Closure' is not allowed" when caching a Collection

I'm trying to cache a collection. I thought it better to cache the collection, rather than an array...

0 Likes
1 Replies

I can't access data in array using Input

The doc tells: When working on forms with "array" inputs, you may use dot notation to acce...

0 Likes
1 Replies

orderBy doesn't work.

Hello guys, I'm trying to order mysql results but orderBy() doesn't work. Here is the code: $orders...

0 Likes
4 Replies
Solved

How do I query using a junction table?

Hi, I am new to laravel to I am probably missing something very obvious but I was hoping someone cou...

0 Likes
1 Replies
Solved
posted 9 years ago

BelongsToMany::attach() method does not refresh collection

Hi everyone, I was hoping someone had an answer to the following issue on GitHub (https://github.com...

0 Likes
0 Replies

how to gettting different queries (models) results with one statement?

Sorry if my title is confusing, not sure how to explain this within a line. Let's say I have a table...

0 Likes
0 Replies

Create custom pagination

Pls any one help me i want to create a custom pagintaion class in laravel 5.1 same as below link. ht...

0 Likes
0 Replies

Get Children order_by

Hi my dear laravel buddies, I have an issues with the children category with order_by query, i'm usi...

0 Likes
0 Replies

Using existing MySQL database with Laravel 5.1

Hi there a Laravel newbie building a Laravel 5.1- based app which needs to talk to an existing, popu...

0 Likes
2 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.