When i search there is no results are displayed.
Secondly ..im using the set_model to use my model to grab data..
function get_list()
{
$name = $this->session->userdata('username');
$progress=$this->db->query("SELECT * FROM (SELECT feeds.url,feeds.id,feeds.SalesID,sales_log.date, sales_log.sales_prob, sales_log.current_stage, sales_log.id AS logid FROM feeds LEFT JOIN sales_log ON sales_log.leadid = feeds.id WHERE feeds.SalesID = '$name' and feeds.archived = 0 ORDER BY sales_log.id DESC )a group by a.url order by logid desc");
$results_array=$progress->result();
return $results_array;
}
The details are displayed inside the crud table but it displays all the records (574) within that page. The details are not being paginated. How can I display only 25 records and the others paginated?
Can someone please suggest me how to fix these problems?