RE: [PHP] Walking through a bunch of MySQL Records

2005-11-14 Thread Miles Thompson
Yeah Jim - that's better than mine. Miles At 03:28 PM 11/14/2005, Jim Moseby wrote: > > I have a question. > I want to display a group of records pulled form a MySQL db > in the following > fashion. > > 16 > 27 > 38 > 49 > 510 > > Now I can easily figure ou

Re: [PHP] Walking through a bunch of MySQL Records

2005-11-14 Thread Miles Thompson
First of all - remember results display in a web browser, and if you want to print these you will get results that are not like a normal printed page. Second - here's an approach. Dump all records into an array, you'll have the record count, then selectively fetch elements according to how yo

Re: [PHP] Walking through a bunch of MySQL Records

2005-11-14 Thread Richard Lynch
On Mon, November 14, 2005 1:03 pm, Phillip S. Baker wrote: > Greetings all, > > I have a question. > I want to display a group of records pulled form a MySQL db in the > following > fashion. > > 16 > 27 > 38 > 49 > 510 > > Now I can easily figure out how to d

Re: [PHP] Walking through a bunch of MySQL Records

2005-11-14 Thread tg-php
Depending on how strict your requirements are for the table layout, you could always do something like this: Item 1 Item 2 Item 3 Item 4 Item 5 Item 6 Item 7 Item 8 Item 9 Item 10 Each item isn't in it's own , but if they don't have to be, th

RE: [PHP] Walking through a bunch of MySQL Records

2005-11-14 Thread Jim Moseby
> > I have a question. > I want to display a group of records pulled form a MySQL db > in the following > fashion. > > 16 > 27 > 38 > 49 > 510 > > Now I can easily figure out how to display the records as > > 12 > 34 > 56 > 7