Call to undefined method CI_DB_mysqli_driver::result()
<p>My Model error: Call to undefined method CI_DB_mysqli_driver::result()</p>

<pre><code>     &lt;?php
     defined('BASEPATH') OR exit('No direct script access allowed');

     class teacher_feedback extends CI_Model {

     public function teacher_feedback_query($teacher)
      {
    $teacher_feedback_query = 'SELECT TD.name, TD.subject, TFA.answer_value,    SBI.first_name, TFSAC.comment, TFSC.comment, TFQ.teachers_feedback_question_id FROM teacher_details as TD inner join teachers_feedback_student_answer as TFSA on TFSA.teacher_id = TD.teacher_id inner join  teachers_feedback_answer as TFA on TFA.teachers_feedback_answer_id = TFSA.teachers_feedback_answer_id inner join teachers_feedback_student_answer_comment as TFSAC on TFSAC.teacher_id = TD.teacher_id inner join student_basic_info as SBI on SBI.student_id=TFSAC.student_id inner join teachers_feedback_student_comment as TFSC on TFSC.student_id = SBI.student_id inner join teachers_feedback_question as TFQ on TFQ.teachers_feedback_question_id = TFSA.teachers_feedback_question_id  where TD.teacher_id = ?';

$teacher_query = $this-&gt;db-&gt;query($teacher_feedback_query,array($teacher));
$teacher_feedback_result = $this-&gt;db-&gt;result($teacher_query);
return $teacher_feedback_result();
}
}
?&gt;
</code></pre>