Alpha_Link Posted October 11, 2009 Share Posted October 11, 2009 I'm writing out a PHP script that will list the results of a search query, but I want it so that it is listed in <td> tags of a table (5 results horizontally on a page) but then add in a set of </tr><tr> tags after every 5 results to begin a new row of results and so forth. All of this is being done in a "while" loop function. How would I go about doing that? Link to comment https://forums.phpfreaks.com/topic/177273-solved-add-tags-after-every-5-tags/ Share on other sites More sharing options...
trq Posted October 11, 2009 Share Posted October 11, 2009 Check out this thread within the FAQ / Code repository board. Link to comment https://forums.phpfreaks.com/topic/177273-solved-add-tags-after-every-5-tags/#findComment-934684 Share on other sites More sharing options...
Alpha_Link Posted October 11, 2009 Author Share Posted October 11, 2009 Oh, that'll do! Thanks! Link to comment https://forums.phpfreaks.com/topic/177273-solved-add-tags-after-every-5-tags/#findComment-934685 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.