excuse me if I made a mistake, but i know a little english. but i will try
I try to do a report to print in the screem after the quiz, I need print user's name, quiz's date, user's grade, i try to modify the moodle's code in quiz module, but i can't to print the user name, i only can print the user Id , can someone help me and tell me what code i must use.
the code I use is:
echo get_string("nombre") . ': <strong>' . $USER->id . '</strong><br />';
how can I get the user name , if i have the id user ??