Jump to content

mysql_fetch_array and tables / cells problem


mds1256

Recommended Posts

Hello

 

Im trying to achieve the following output (see the below table. Then on a new row have the next 4 pieces of data that is pulled from the database.

 

So i want the table to automatically have a new row after every 4 cells e.g.

 

1st piece of data              2nd piece              3rd piece              4th piece

5th piece of data              6th piece              7th piece                8th piece

 

etc etc, until there is no more results within the database to pull back, i guess its a bit like pagination but rather rowination

 

Any one point me in the right direction on what i need to do

 

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.