Hello to all,
I am Sandra and i am working on a project that uses moodle to serve quizzes to users using a web service. So far, i can get the questions from the web service but what i want to do is to insert these into the moodle question table. The idea is, a user should be able to set quiz without having to type the questions himself. All what a user has to do is to choose a category and the module i am building goes and gets the questions from the webservice and brings them to the user. To do this, i need to insert these questions into the moodle database from within the code and i face difficulties doing this. I need any help from the community.