[eluser]Unknown[/eluser]
hi all,
i have 2 functions in controllers
Code:
function Cars(){
$data['result'] = "";
something else ...
$this->load->view('cars');
}
function addCar(){
$this->input->post('car');
......
add it to db and return "Success Added !"
$this->Cars();
i need to print "Success Added !" into Cars();
}
I am trying to add $result in $this->Cars($result);
and edit function Cars() to Cars($result) but when i load only Cars() there is missing argument