Started working on adding the links in all the views.
Changed the query so that it pulls up only the alumni who have been allotted
to the user who is logged in.
[issue-recognised] Found out that since the same data of the year the alum passed out
is there in the status and the alumni table, there was an error and this needs
to be fixed.

Can be easily fixed using the JOIN in mysql.
Learnt about the count function. Now displaying the number of rows that
are fetched whenever in the Database view mode.
Switched off the debug option in the database.php file so that the errors
such as the undefined offset errors are not shown on the screen.
Much better refactoring using the session concept.

Storing the three years inside the session userdata rather than anywhere else.

Whenever it is required it is pulled up from there and stored. So, in case the
application needs to be reused, then the values just need to be changed in the
login.php file