I'm doing a project in which the user can select a range of months (eg January-May) and I select the data available in my database to add them using PHP. This I must do for five different venues. The algorithm is like this:
+seleccione meses: enero-marzo
consolidadosede1=sede1_unidades_enero+sede1_unidades_febrero+sede1_unidades_marzo;
consolidadosede2=sede2_unidades_enero+sede2_unidades_febrero+sede2_unidades_marzo;
... so on until the five campuses are completed. I appreciate your help.