Re: [PHP] Random but ordered..

2005-05-08 Thread Richard Lynch
Check the MySQL manual for how to order randomly. They might have a way to do it. However... If there are a fairly number of consistent plans in each company, you might be better off with something that just chooses N companies at random, enough to fill a page, and that's it. One wrinkle is

[PHP] Random but ordered..

2005-05-07 Thread Ryan A
Hey, I have been screwing around with this code for around a day and am hitting a wall, any help would be appreciated. Basically, I am working on a site that queries the DB for companies and the plans the company is offering, the DB is quite big (a few thousand records in each of the 20 tables)

Re: [PHP] Random but ordered..

2005-05-07 Thread Marek Kilimajer
Ryan A wrote: Hey, I have been screwing around with this code for around a day and am hitting a wall, any help would be appreciated. Basically, I am working on a site that queries the DB for companies and the plans the company is offering, the DB is quite big (a few thousand records in each of the