adodb-pager and Smarty

From: Date: Tue, 21 Dec 2004 16:07:30 +0000
Subject: adodb-pager and Smarty
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-12066@lists.php.net to get a copy of this message
I am probably not assigning this correctly but here is the problem I am having. First off, the pager works. I get the data and it creates a paging table. That is cool. It just doesn't show up where I want it to on the displayed page. $pager = new ADODB_Pager($db, $rs); $pager->Render($rows_per_page=15); $page->assign('pagedata', $pager); I then put {$pagedata} inside a <DIV> statement and that is where I want it to show up. Instead the table shows up at the top of my page and the work "Object" appears where I want the table to appear. I am guessing that I need to do something a little more fancy than assign the results. Robert

« previous php.smarty.general (#12066) next »