Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Bastien Koert
On Mon, Jul 27, 2009 at 11:25 AM, Shawn McKenzie wrote: > Miller, Terion wrote: >> >> >> On 7/27/09 9:40 AM, "Jim Lucas" wrote: >> >> Miller, Terion wrote: >>> I want to store only 1000 records at a time in the session variable thought >>> I could use a range(1,1000 >>> >>> How would you do t

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Jim Lucas
Miller, Terion wrote: > > > On 7/27/09 9:40 AM, "Jim Lucas" wrote: > > Miller, Terion wrote: >> I want to store only 1000 records at a time in the session variable thought >> I could use a range(1,1000 >> >> How would you do this, store the first 1000 , then the second on refresh etc >> >>

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Shawn McKenzie
Miller, Terion wrote: > > > On 7/27/09 9:40 AM, "Jim Lucas" wrote: > > Miller, Terion wrote: >> I want to store only 1000 records at a time in the session variable thought >> I could use a range(1,1000 >> >> How would you do this, store the first 1000 , then the second on refresh etc >> >>

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Bastien Koert
On Mon, Jul 27, 2009 at 10:54 AM, Miller, Terion wrote: > > > > =snipped >> > > I would page the data with the LIMIT call as Jim suggested. What is > the user doing with 1K records and how are they getting 1K records? > > -- > > Bastien > > Cat, the other other white meat > > > Here is a li

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Miller, Terion
=snipped > I would page the data with the LIMIT call as Jim suggested. What is the user doing with 1K records and how are they getting 1K records? -- Bastien Cat, the other other white meat Here is a link to the code at PasteBin It's a db full of the town's restaurant inspections

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Ashley Sheridan
On Mon, 2009-07-27 at 07:44 -0700, Miller, Terion wrote: > Well there are currently about 17000 records in the db, and my manager wants > to have it only pulling in 1000 at a time as a session range > And why do my code snippets always look so messed up , I put them in using > the rich text or ht

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Bastien Koert
On Mon, Jul 27, 2009 at 10:44 AM, Miller, Terion wrote: > Well there are currently about 17000 records in the db, and my manager wants > to have it only pulling in 1000 at a time as a session range > And why do my code snippets always look so messed up , I put them in using > the rich text or htm

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Miller, Terion
On 7/27/09 9:40 AM, "Jim Lucas" wrote: Miller, Terion wrote: > I want to store only 1000 records at a time in the session variable thought I > could use a range(1,1000 > > How would you do this, store the first 1000 , then the second on refresh etc > > My snippet so far > > --

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Miller, Terion
Well there are currently about 17000 records in the db, and my manager wants to have it only pulling in 1000 at a time as a session range And why do my code snippets always look so messed up , I put them in using the rich text or html settings in my Entourage mail... They look fine when I send th

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Jim Lucas
Miller, Terion wrote: > I want to store only 1000 records at a time in the session variable thought I > could use a range(1,1000 > > How would you do this, store the first 1000 , then the second on refresh etc > > My snippet so far > > --- >

Re: [PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Bastien Koert
On Mon, Jul 27, 2009 at 10:30 AM, Miller, Terion wrote: > I want to store only 1000 records at a time in the session variable thought I > could use a range(1,1000 > > How would you do this, store the first 1000 , then the second on refresh etc > > My snippet so far > > ---

[PHP] Imposing a range on what is stored in a session variable

2009-07-27 Thread Miller, Terion
I want to store only 1000 records at a time in the session variable thought I could use a range(1,1000 How would you do this, store the first 1000 , then the second on refresh etc My snippet so far --- // Process all results in