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?