aeris130 Posted June 28, 2006 Share Posted June 28, 2006 Basically, what I want to do is to query a table for several matches (mysql) and generate the output into a table. Every match is supposed to get its own <td>. The problem is, that I only want 4 <td>'s on every row. After that, I'd like to insert a </tr> and start a new <tr> before continuing to generate td's.Is this possible? Quote Link to comment https://forums.phpfreaks.com/topic/13152-generate-table-through-php-solved/ Share on other sites More sharing options...
freakus_maximus Posted June 28, 2006 Share Posted June 28, 2006 Check out the PHPFreaks FAQ/Code Snippet RepositoryOber's post will show you how this is done.[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=95426\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=95426[/a] Quote Link to comment https://forums.phpfreaks.com/topic/13152-generate-table-through-php-solved/#findComment-50585 Share on other sites More sharing options...
Buyocat Posted June 28, 2006 Share Posted June 28, 2006 Aeris refer to this thread[a href=\"http://www.phpfreaks.com/forums/index.php?showtopic=97058\" target=\"_blank\"]http://www.phpfreaks.com/forums/index.php?showtopic=97058[/a]Check the post I left, it should cover everything. Quote Link to comment https://forums.phpfreaks.com/topic/13152-generate-table-through-php-solved/#findComment-50586 Share on other sites More sharing options...
aeris130 Posted June 28, 2006 Author Share Posted June 28, 2006 Exactly what I was looking for. Thanks a lot! [img src=\"style_emoticons/[#EMO_DIR#]/smile.gif\" style=\"vertical-align:middle\" emoid=\":smile:\" border=\"0\" alt=\"smile.gif\" /] Quote Link to comment https://forums.phpfreaks.com/topic/13152-generate-table-through-php-solved/#findComment-50589 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.