Change this:
$game_kinds = GameKind::where('game_kind_name_en','!=','')
->lists('game_kind_name_en');
into this:
// SELECT 'field' AS 'alias' ...
$game_kinds = GameKind::select('game_kind_name_en', 'game_kind_name_en as game_kind_name_en_key')
->where('game_kind_name_en','!=','')
->lists('game_kind_name_en', 'game_kind_name_en_key');
From the docs:
Specifying A Select Clause
$users = DB::table('users')->select('name as user_name')->get();
or ...->lists(...)
in your case
And
Retrieving A List Of Column Values
$roles = DB::table('roles')->lists('title');
This method will return an array of role titles. You may also specify a custom key column for the returned array:
$roles = DB::table('roles')->lists('title', 'name');
BTW
- Don't use spaces in HTML-attribute names.
Instead of doing:
value="dice game"
Do like:
value="dice_game"
.