I think that however view.php is loaded, by about line 40, there will be a variable that contains the number you want. Probably $cm->id. If you test that, you should not have to worry about which parameters were passed in.
Quiz
view.php programming question
This discussion has been locked so you can no longer reply to it.