Hi. I have a database like this:
Question,Correct_Answer,Wrong_Answer1,Wrong_Answer2,Wrong_Answer3 , 5 columns and 3 lines.
I want to make a function to use the information from a random row.
I want something like this.
I use math.random(firstline, last line)
Then , I put all the information from that row, such as Question,Correct_Answer,Wrong_Answer1,Wrong_Answer2,Wrong_Answer3 in different variables.
I tried and tried , but I didn’t succed.
Thanks. [import]uid: 178587 topic_id: 31766 reply_id: 331766[/import]