Re: [PHP] google style paginating

2003-08-23 Thread Mika Tuupola
On Thu, 21 Aug 2003, Ted Conn wrote: Hi I am new to this newsgroup and I plan on replying to all the posts I can for now... but Id like to start out by asking a question. I am trying to paginate my sql results in 10 by 10, which I have been able to do no problem. but what I want to do is have

Re: [PHP] google style paginating

2003-08-23 Thread Haseeb
current page. all you have to do is maintain $nCurrentPage. if you change the query slightly you can get the total no of records and when you get total no of records then you can also get total no of pages. HTH, Haseeb ---Original Message--- From: Mika Tuupola Date: Saturday, Augus

RE: [PHP] google style paginating

2003-08-23 Thread Boaz Yahav
://addexample.weberdev.com Search for PHP Code from your browser http://toolbar.weberdev.com -Original Message- From: Ted Conn [mailto:[EMAIL PROTECTED] Sent: Thursday, August 21, 2003 11:01 PM To: [EMAIL PROTECTED] Subject: [PHP] google style paginating Hi I am new to this newsgroup and I plan

[PHP] google style paginating

2003-08-21 Thread Ted Conn
Hi I am new to this newsgroup and I plan on replying to all the posts I can for now... but Id like to start out by asking a question. I am trying to paginate my sql results in 10 by 10, which I have been able to do no problem. but what I want to do is have the pages layed out in google style with

RE: [PHP] google style paginating

2003-08-21 Thread Chris W. Parker
Ted Conn mailto:[EMAIL PROTECTED] on Thursday, August 21, 2003 2:01 PM said: Hi I am new to this newsgroup and I plan on replying to all the posts I can for now... Hopefully those replies will be useful. ;) I'll show you the code I am using now for next and back buttons... Hmm...

Re: [PHP] google style paginating

2003-08-21 Thread olinux
PEAR::DB_Pager is a good example of how to do this. The getData function is all you need. http://pear.php.net/DB_Pager http://cvs.php.net/co.php/pear/DB_Pager/Pager.php?login=2r=1.4 olinux --- Ted Conn [EMAIL PROTECTED] wrote: Hi I am new to this newsgroup and I plan on replying to all the