mds1256 Posted December 2, 2010 Share Posted December 2, 2010 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 Quote Link to comment https://forums.phpfreaks.com/topic/220463-mysql_fetch_array-and-tables-cells-problem/ Share on other sites More sharing options...
mikosiko Posted December 2, 2010 Share Posted December 2, 2010 did you look in the "FAQ/Code Snippet Repository" folder? (in the main page of this site)?.... there are a few examples Quote Link to comment https://forums.phpfreaks.com/topic/220463-mysql_fetch_array-and-tables-cells-problem/#findComment-1142211 Share on other sites More sharing options...
mds1256 Posted December 2, 2010 Author Share Posted December 2, 2010 did you look in the "FAQ/Code Snippet Repository" folder? (in the main page of this site)?.... there are a few examples oops missed that, thanks again! Quote Link to comment https://forums.phpfreaks.com/topic/220463-mysql_fetch_array-and-tables-cells-problem/#findComment-1142215 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.