Support the ongoing development of Laravel.io →

peterlevin

Joined 6 Oct 2014

Statistics

Threads 1
Replies 3
Solutions 1
Articles 0
posted 9 years ago

joining tables

Hello all - I'm looking to create a game scheduler for sports. I have two tables: teams: id name g...

0 Likes
5 Replies
Solved
replied 9 years ago

joining tables

got it.. here is the final code: $games = DB::table('games') ->leftJoin('teams AS awayteam',...

0 Likes
Solved
replied 9 years ago

joining tables

jmichaelterenin, thanks for the help. I'm only getting the home team name in the output: [ {...

0 Likes
replied 9 years ago

joining tables

Thanks jmichaelterenin. I'm getting this error: Unknown column 'teams.name' in 'field list'

0 Likes

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.