I am working on students management system with php it this application i want to Update Students Class Roll no. According to their percentage Here is my sifo table
Sid || Sname || Class || Roll ||percentage
ABC1 Raj 1 1 81
ABC2 RAJU 1 2 91
AS I MENTIONED ABOVE I want my application to allot ABC2 Roll 1 And Abc1 to roll as per their percentage.
I dont have any idea how to achieve this so I didn't tryed any code so please help me.
Oh I forgot to add I want to do it via PHP because This process is going to happen once in a year .