I know my question title is not clear and I will explain here.
There is four radio buttons and its like examination test where every question have 4 answers. Problem is every question's should have random answer option.
the right answer will contain value=1.
Q1 This is question 1?
<input type ="radio" value="1" />
<input type ="radio" value="2" />
<input type ="radio" value="3" />
<input type ="radio" value="4" />
Q2 This is question 2?
<input type ="radio" value="2" />
<input type ="radio" value="4" />
<input type ="radio" value="1" />
<input type ="radio" value="3" />
How can I generate random option?
I am using PHP and fetching options value from database.