Is there a particular reason that you aren't using Eloquent? This seems like a good use case.
Create a table named "games" and make the schema how you wish. You can then create an Eloquent model like so:
class Game extends Eloquent {
//by default, you don't even need anything else here
}
You are then able to do all sorts of things like finding a game by ID:
Game::find(1)->name; //returns the name of game 1
You can find more information about Eloquent here: http://laravel.com/docs/eloquent
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community