1
Mazar
All of a sudden module pagination not working now
  • 2009/7/28 20:04

  • Mazar

  • Not too shy to talk

  • Posts: 191

  • Since: 2009/1/4 0


Fatal error: Call to a member function renderNav() on a non-object in C:\xampp\htdocs
here is the code
le="color: #000000"><?php if(isset($_GET['recordstart'])) $recordstart = intval($_GET['recordstart']); include XOOPS_ROOT_PATH.'/class/pagenav.php'; $result = $xoopsDB->queryF("SELECT * FROM ".$xoopsDB->prefix('columists').""); $recordtotal = mysql_num_rows($result); $recordsperpage = 2; if (!$recordstart) $recordstart = 0; if ($recordtotal) $nav = new XoopsPageNav($recordtotal, $recordsperpage, $recordstart, 'recordstart', ''); echo $nav->renderNav(4);

What can be the problem in above code

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits