I have a table like below structure,
The entry_added_date is storing date equivalent field, (2015-07-27).
Now I want to filer that entries in between two dates with this field.
I tried the below code,
$start = Input::get('start');
$end = Input::get('end');
$arr = DB::table('otc_revenue_entries')
->whereBetween('entry_added_date',array($start,$end))
->get();
return Response::json(['data',$arr]);
Where is the wrong in my code, ?