Here is what came to mind for me.
Code:
$allQuestions = mysql_query("SELECT * FROM questions", $connection );
while($oneQuestion = mysql_fetch_array($allQuestions))
{
echo $oneQuestion["question_text"];
$allAnswers = //Select everything from answer table with questionID
while($oneAnswer = mysql_fetch_array($allAnswers)
{
echo $oneAnswer["answer_text"];
}
}