does anyone know what file the database functions such as get_record() are located in?
They're in lib/datalib.php
thank you very much
If you use an editor like vim or gvim and point to the tags file (...moodle/tags) you can just "hover" on the name of the function and press Ctrl-]. The library file containing the function is read in and the function header... is shown. Ctrl-t gets you back to your source file. It's magic