I wanted to have the result with only the values not with the table column name in Laravel 4.2. For example,
$recs = DB::table(\'table_name\') ->s
DB::table('table_name')->all()->lists('id', 'title')->toArray()
Referance: Retrieving A List Of Column Values