Make Test

Hello Everybody. I really need ur help. I am going to make website that tests users knowledge in different subjects. So how can i use data in database?. and How can i take all questions one by one using ajax?

create question table that holds question, answer, choices

and answer table holds users id question id and answer then create table for user details such as username password email etc.

to use ajax please read CHtml::ajaxButton