Re: [PHP] Re: algorithm of pages beaking

2008-03-20 Thread Robert Cummings
On Thu, 2008-03-20 at 11:32 -0400, tedd wrote: > At 11:35 PM + 3/19/08, George J wrote: > >Hi, > > > >I'm trying to resolve an issue with a pagination routine. Sounds like we're > >working on a similar routine. I have a query returning products from a > >database and then display the results i

[PHP] Re: algorithm of pages beaking

2008-03-20 Thread tedd
At 11:35 PM + 3/19/08, George J wrote: Hi, I'm trying to resolve an issue with a pagination routine. Sounds like we're working on a similar routine. I have a query returning products from a database and then display the results in a defined number of products per page. Checkout - 'Newbie qu

Re: [PHP] Re: algorithm of pages beaking

2008-03-19 Thread jeffry s
On Thu, Mar 20, 2008 at 7:35 AM, George J <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to resolve an issue with a pagination routine. Sounds like > we're > working on a similar routine. I have a query returning products from a > database and then display the results in a defined number of produ

[PHP] Re: algorithm of pages beaking

2008-03-19 Thread George J
Hi, I'm trying to resolve an issue with a pagination routine. Sounds like we're working on a similar routine. I have a query returning products from a database and then display the results in a defined number of products per page. Checkout - 'Newbie question, Which way is best?' in this newsgr

Re: [PHP] Re: Algorithm....

2004-02-16 Thread Bob Eldred
> To: <[EMAIL PROTECTED]> Sent: Monday, February 16, 2004 9:47 PM Subject: [PHP] Re: Algorithm > I suggest a bit's mask technique; since max(i)=96, you can represent a day > by 96/8 = 12 bytes = 3 (32-bits integers). > > TimeFrameA is an integer representing t

[PHP] Re: Algorithm....

2004-02-16 Thread Manuel Vázquez Acosta
I suggest a bit's mask technique; since max(i)=96, you can represent a day by 96/8 = 12 bytes = 3 (32-bits integers). TimeFrameA is an integer representing the first 32 15-minutes chunks(0-31), TimeFrameB represents 32-63, and TimeFrameC 64-95. If a bit is 1 the you that 15-minutes chunk is marke

Re: [PHP] Re: Algorithm: Limiting Large Numbers of Pages to 10 visible

2001-12-21 Thread TD - Sales International Holland B.V.
On Friday 21 December 2001 05:59, Manuel Lemos stuffed this into my mailbox: err if it's coming from SQL just use LIMIT like select * from limit 0, 10 would give you the first 10 resulst select * from limit 10, 10 gives you results 11 - 20 select * from limit 20, 10 gives you 21 - 30 etc >

[PHP] Re: Algorithm: Limiting Large Numbers of Pages to 10 visible

2001-12-20 Thread Manuel Lemos
Hello, > I've got to believe that there's a really slick way of doing this. I've > searched the usual > places (weberdev.com, devshed.com, zend.com) but there's no really good > keywords, > and when you search on 'paging" you get too many results to be useful http://phpclasses.upperdesign.com/b