have a SQL search which I’m looking through the results from.
I want to populate a new array based on some functions within each loop.
for example, if row one is class of 1997 and student ID 12, add an array with data to a master array called studentSummary
if my 3rd row is 1997 and student 12x, I update my data. Things that are totals increase by whatever the a amount is etc.
how can I do this check for an array with two keys essentially