Forum Moderators: coopster
the project is like this ::::
there is a topic for test , the admin can enter the questions and answer , there are 5 category (test 1 to test 5)
each tests contains 20 questions and each question can contain 2 to 4 answers depending how the admin enters the no. of answers, each questions also needs to have a image to give hint to the answer (image is not mandatory ).
I need help in designing the database, how shall i design the database , i had made two tables one for questions and one for answers, but there will be 100 questions for 5 tests?
please help..........please anybody
try 3 tables then
tests, questions, answers
all tables should have a unique id to identify each row
answers could contain the actual answer and possibly your image link
questions could have the answer id and the text question
tests could have a list of ids for which questions belong to which tests.
something like that though it would probably take some further tweaking