General help

Picture of khulood ali
reading xml file from inside moodle

Dear all,

Iam using moodle 2.4. Trying to create new module that read data from xml file and save to database the needed info. I used both simple xml and Dom xml reader to read the xml file from php ( in the mod_form.php file ) , but both didn't work.

Any one have idea of reading xml file within a module inside moodle?


Average of ratings: -