Support the ongoing development of Laravel.io →

emissar

Joined 7 Jul 2015

Statistics

Threads 1
Replies 1
Solutions 1
Articles 0

Get users belonging to the cities that belong to the selected region

Hi all. Please, help me. //Controller: public function show($slug) { $data = Region::fi...

0 Likes
1 Replies
Solved
replied 8 years ago

Get users belonging to the cities that belong to the selected region

I found solution: $ids = $data->cities->lists('id'); $users = User::with('city')...

0 Likes
Solved

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.