[eluser]johnmiller[/eluser]
i have changed my model like this
Code:
function search_students($fname)
{
$search_details = $this->db->query("SELECT * from student WHERE first_name = '$fname'");
return $search_details->result();
}
i still get the error..
how to load the validation library???
the error i get is
Quote:Severity: Notice
Message: Undefined property: CI_Loader::$validation
Filename: views/search.php
Line Number: 272
The error is in the view
Line number 272 is
Code:
<?php echo $this->validation->error_string;?>
How to add the validation library?