I want to make a "flashcards" like page (all one page with if statements, flashcard.php) that will query my database of words, display the word, and will present you with a form to enter the definition. Once the user enters the definition, the click a submit button, and the page presents the user with text telling them weather they got the definition right or wrong, and a link to go on to the next word.
Each word in the database (along with its corresponding definition) has a unique ID.
Also, Each word has something I call a Skill Level, a number from 1-5. So, the MySQL select statement would be something like "...WHERE skill = 1"; or whatever, depending on which Skill Level the user chose.
How could I randomize the words shown?
Any ideas on how I could code this?
Thanks!
Each word in the database (along with its corresponding definition) has a unique ID.
Also, Each word has something I call a Skill Level, a number from 1-5. So, the MySQL select statement would be something like "...WHERE skill = 1"; or whatever, depending on which Skill Level the user chose.
How could I randomize the words shown?
Any ideas on how I could code this?
Thanks!