Sir,
I have php array
{
"DiplomaFirstYear": {
"2016-2017.1": 3.88,
"2016-2017.2": 4,
"2016-2017.3": 3.3
},
"DiplomaSecondYear": {
"2016-2017.3": 4,
"2017-2018.1": 3.88,
"2017-2018.2": 3.94,
"2017-2018.3": 3.3
},
"AdvancedDiploma": {
"2017-2018.3": 4,
"2018-2019.1": 3.74,
"2018-2019.2": 3.62
},
"Bachelor": {
"2018-2019.3": 3.15
}
}
in this 2016-2017.3 in DiplomaFirstYear and 2016-2017.3 in DiplomaSecondYear want to calculate average and add those values in those two positions. Can u please help me.