public function onewayflightresults()
{
$search1 = Input::get('destinationto');
dd($search1);
$results = DB::table('oneways')->where('destinationto','=',$search1)->get();
var_dump($results);
}
Add the line above -> dd($search1); to see the value that your list is sending.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community