public function eliminarRegistros($primary_key){
$this->load->model(array("misinventariosmodelo"));
$validacion = $this->misinventariosmodelo->eliminarInventario($primary_key);
if ($validacion == true)
return true;
else
return false;
}
That function deletes the rows but give me a wrong message and don't refresh the data
[attachment=295:pic.PNG]
Thanks for your help