[eluser]goFrendiAsgard[/eluser]
$rows is not defined, you should fix your controller by writing this:
Code:
$data = array("rows" => $this->emp_model->general());
instead of
$data = $this->emp_model->general();
Also, if you use
$rows->row_array() in your model,
then you should use
$r["id"] instead of
$row->id
row_array will return an array, while row will return an object