Idnumber of quiz

Re: Idnumber of quiz

by Franco Pantoja -
Number of replies: 0
Picture of Particularly helpful Moodlers

Hi

you can try to use Moodle functions as well

$qz= get_coursemodules_in_course('quiz', $course->id );
$qz->id; // this is the id
$qz->instance; // this is the id in {quiz} table


Regards!!