i have to make a polling sytem with multiple Questions having multiple Questions.

for example

Q1 - best actor
A) Will Smith B) Tom Cruise

Q2 - best Color
A) Red B)Green

Submit button..


there will be only one submit button.


after submit i have to show all result on one page

Q1
A) Will Smith - 20 Votes
B) Tom Cruise - 30 Votes

Total - 50 Votes

Like this for the Questions.

i was wondering how to design database for such thing..

Kindly help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.