|
Posted by pURbA on 10/04/87 11:09
i've searched on the internet about my problem that i
have, and ended up with nothing. i believe some of u
guys have faced this problem before.
here is the problem:
i have a table for books, and want to display it using
adodb-pager.
this is my select state: select * from books where
booktitle like '%php%'; so I call the ADODB_Pager
constructor:
$pager = new ADODB_Pager($db,$qr1,'books',true);
i limited the books that i want to display by setting
the $pager->Render($rows=5);
-------------------------------------------
|< << 1 2 >> >| [header]
-------------------------------------------
ISBN | Title | Author |
............
............
but when i click the next button (>>), header becomes
-------------------------------------------
|< << 1 2 3 >> >| [header]
-------------------------------------------
ISBN | Title | Author |
............
............
it becomes 3 pages instead of 2. is it related to
adodb-session? i use my own session class.
any help would be appreciated... ^_^
thanks!
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Navigation:
[Reply to this message]
|