Get 10 question from database

'; } // Display State else if ($_POST['action']=="Start" || $_POST['action']=="Next Question") { echo '

Display question '.$_SESSION['question_num'].'

'; } // Feedback State else if ($_POST['action']=="Submit") { echo '

Process submission

'; echo '

Print feedback

'; if ($_SESSION['question_num'] < 10) { $_SESSION['question_num']++; echo '
'; } else { // Stop State echo '

Recored score

'; echo '

Print end of game feedback

'; echo '

Back to Home

'; } } print_html_footer(); ?>