-2
How can I build a table (HTML + PHP) using the current week number and the next 15 weeks, for example:
Semana Atual é 29 então teremos 29+15 = 44
The table will display the information obtained from the database from week 29 to week 44
follows an example of how data can be obtained
Complement: Another difficulty would be when we are near the end of the year, where this table will need to display the information of the two years for example: 2015/2016
Semana 42 + 15 = 57 (Porém o numero máximo de semanas por ano é 52)
Então teríamos 57-52 = 5 e o resultado a ser exibido seria
2015: 42-43-44-45-46-47-48-49-50-51-52
2016: 1-2-3-4-5
If there is no way I can display only 1 year at a time.