The new multiple choice questions can be inserted into any page
using the PHP function calls below. See the bottom of this page for the rendered result of the sample exercise.
The following HTML produces a multiple choice exercise.
This HTML is produced by PHP functions so that any future developments
will take effect across all old content.
Note: Gap fill exercises and multiple choice exercise, submit back to the same page
so that the DB updates are handled within the same page's PHP code.
Multiple Choice HTML produced by PHP functions
Use these PHP functions to generate multiple choice questions.
The form start and end should also work if they contain a mixture
of question types. Eg: The same form can contain a mixture of gap fills and multiple choice questions
Start the MC question or questions This code
Your Score -
0 / 1
Produces this HTML - END OF QUESTION FORM File contents not found for source code display Full path to code was ""
Here's the Actual Rendered HTML Exercise Form
Multiple Choice Which one of these living creatures is a mammal?
What day of the week follows Tuesday? Rendered code end above