May be is simple but I have one table where I want to take value from one column. They are two records and always will be two records and I need value from second id.. Here is visual

```
id     key      value
 1    key_1     Value_1
 2    key_2     value_2

```

I want to take `value_2`. Here is what I have in my controller

```
$free = DB::table('settings')->select('value')->where('key', '=', 'free')->get();
    return View::make('site.cart.order', [
        'cart' => $cart,
        'free' => $free
    ]);

```

And in my view I'm trying this 

```
@if( $total < $free['value'] )

   // loop
@endif

```

Currently I'm getting - `Undefined index: value`