Welcome Guest, Not a member yet? Register   Sign In
How to pass multiple values from view->controller->model
#10

[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?


Messages In This Thread
How to pass multiple values from view->controller->model - by El Forum - 08-07-2008, 02:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB