How can I add a new row in a table every 10 columns automatically?
I have 2 queries that pull 2 different data set from the database first one contains the header for a table so if the total results are 10 then we have 10 headers to the table. the second one will have records each with one value for each column. so if I have 5 records this means 5 x 10(total headers) = 50 records in the second dataset. those 50 records I want to display it in the table. My approach is to display one record at a time but after every 10 records close and open a new for the next row. I am not sure if this is the best approach to this problem but I am open to better ideas.