I am creating a quiz using radio buttons. There is only one correct answer to each question and I want to enter into the DB a 1 for the correct answer.
Question 1. If two pounds of candy cost $1.20, what would 1/2 pound cost at the same rate?
1=$.30
2=$.45
3=$.60
4=$.90
5=$2.40
$.30 is the correct answer which I want to enter a 1 for in the DB, with 0's for the rest. How can I do this?
Question 1. If two pounds of candy cost $1.20, what would 1/2 pound cost at the same rate?
1=$.30
2=$.45
3=$.60
4=$.90
5=$2.40
$.30 is the correct answer which I want to enter a 1 for in the DB, with 0's for the rest. How can I do this?