deletes a question from the database the parameter tells if the question is removed from all exercises (value = 0), or just from one exercise (value = exercise ID)
moves the temporary question "tmp" to "quiz-$questionId" Temporary pictures are used when we don't want to save a picture right after a form submission.
saves the picture coming from POST into a temporary file Temporary pictures are used when we don't want to save a picture right after a form submission.
changes the answer type. If the user changes the type from "unique answer" to "multiple answers" (or conversely) answers are not deleted, otherwise yes