[PHP] Walking through a bunch of MySQL Records

2005-11-14 Thread Phillip S. Baker
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 display the records as 12 34 56 78 910 But

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 78 910

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: tr td Item 1br Item 2br Item 3br Item 4br Item 5 /td td Item 6br Item 7br Item 8br Item 9br Item 10 /td /tr Each item isn't in it's own

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 display the

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

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 out how to