<?php $results = DB::select('select * from insurance_policy where Id = ?', [1]);
                                           $row = $results->fetch_assoc();
                                            echo $row["Amount"];
                                  ?>
Here is my code it is giving me a error:Call to a member function fetch_assoc() on a non-object. I am using Laravel 5
 
     
    