This recommendation engine code that works to:
Developing a form through which insert users in the database.
Retrieving the inserted users from the database and shown in a table.
Developing a script through which insert course for different users in the database.
Retrieving inserted course for users and show in a table.
Retrieving the inserted data from the database and convert into a matrix form.
Using the Euclidean distance function to calculate the similarity matrix for all the users.
Using the prediction function to calculate the recommendation for each inserted user.