Does anyone here know how to retrieve information from moodle LMS
I am setting up a page on a Moodle LMS where a student can select a paper topic from a drop-down menu. What I need to do is get the student's information from the LMS so that I can populate the page based on which course they are in, their username, their e-mail etc.
I assume I will need to make a DB call at some point for things like e-mail and name but I was hoping that since the student will be logged in I can get the course name and their user name from the session.
I don't know a lot about this so can someone explain this a bit?