I am a beginner with Laravel 5. I have a table: users with columns CreateDate, Type and Channel.

I have a list with users and I choose in View: Trans StartDate, Trans EndDate, Type and Channel.

I want to show: Tras `StartDate < CreateDate < Trans EndDate` with Type and Channel. `name="time_start", "time_end", "type", "channel"`.

My Route: 

```
Route::post('user', 'CSKHController@index');

```

My Controller:

```
public function index() {

    $start = Input::get ( 'time_start' );
    $end = Input::get ( 'time_end' );      

    $articles = KhachHang::all()->whereBetween('CreateDate', [$start, $end])->get();

    return view('admin/layouts/test', compact('stt','article'))->withDetails($articles);

}

```

Help me please!