Hi,
how long is your list?
Two rough ideas:
Less than 52 items
By EM create a string of ten random characters A-Z, a-z like "DGHOQTbfhr".
Then display:
Subquestion 1, if string contains "A" (strpos(mystring,"A")===true)
Subquestion 2, if string contains "B"
Subquestion 3, if string contains "C"
...
Subquestion 27, if string contains "a"
Subquestion 28, if string contains "b"
More than 52 items:
create a string of length(itemcount) (str_repeat("0",itemcount))
at random set ten positions to "1".
Then display:
Subquestion 1, if string contains "1" at position 1 (substr(mystring,0)=="1")
Subquestion 2, if string contains "1" at position 2 (substr(mystring,1)=="1")
...
As said, just two ideas
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.