R
R
raycheel2014-06-26 13:38:27
Yii
raycheel, 2014-06-26 13:38:27

How to think over the logic of php tests in yii?

Hello! Faced with the task, the customer asked to create a module for his site. yii project.
The module consists of "tests", questions are shown, and below are the answers. I can’t figure out how to implement this, how to check the selected option, how to make a shuffle of answer options?
Good people, guide me on the right path. Thank you!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vit, 2014-06-26
@fornit1917

how to check the selected option

Operator ===

A
Alexander Tokmakov, 2014-09-12
@calliko

I can throw off the js script, my test. see if you can do something similar
krug.96.lt/testirovanie.php?id=2 My
questions are taken from the database. They get stuck in the admin. I can also drop the db table

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question