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 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to