Reply to adodb paging problem

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация