A small quiz app written in PHP
You can edit the template.html like you want but keep it in Bootstrap style and add the id="inside" property to the element where the HTML should be written
To use it just call it with the UUID located in ./uuid: /?uuid=1
The questions.config has a simple syntax:
Lines with * start a new quiz
Characters after | are the id
~ defines the Callback (CLI) ($UUID and $DATA are being replaced)
$ settings max. errors|max. errors per question
; = Start a new Question
? = splits question and answers
| = new answer
} = this answer is true (can be multiple choise)
Example:
*Quiz Title|ID
;Question?answer1|answer2}|answer3
~echo "$DATA" > ./completed$UUID
$ 2|5
##UUID System
To create a UUID simply write the following in a file located in ./uuid
Empty Line
QuizID
additional data (string)
Example:
1
testuser