Quantcast
Channel: General developer forum
Viewing all articles
Browse latest Browse all 37679

Re: Access Moodle DB From Block Code

$
0
0
by Davo Smith.  

set_config('additionalhtmlfooter', 'test');

There are hundreds (if not thousands) of working examples of using $DB->update_record() and $DB->insert_record() in the Moodle core code. Any of them should be able to help you.


Viewing all articles
Browse latest Browse all 37679

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>