I\'m currently working on a quiz program using PHP/mySQL (my first time ever actually using either).
Up until now I was just working on getting it all functioning co
Firstly you are re creating the $q_array on each page so it will only contain the last displayed question which will not work
try
if(isset($_SESSION['questions']))
{
$_SESSION['questions']+= ", $question_id";
}
In the select query you should omit the questions with the already displayed in the array.