Webmastersite.net
Register Log In

How to use pagination in admin panel.

Title How to use pagination in admin panel.
Message Text Hi All, I have created new page in admin panel.But pagination is not working. In php file, i am using this code if (!$page) $page = 1; if (!$perpage) $perpage = 25; $start = ($perpage * $page) - $perpage; $q = $db->select('id,ip,date', 'permanentblacklisttable',"id != ''",'ORDER BY id DESC',"LIMIT $start,$perpage"); $n = $db->numrows($q); $template->paginate($page, $perpage, $possible); In Tpl file, i am using this code {PAGINATION} But pagination is not working.Can you please help me anyone.
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership ngprasad
Views 311 views. Averaging 0 views per day.
Similar Topics
Submission Date Apr 28, 2008 - 1:54 AM