<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<title>Example</title>
</head>
<body>

<?php

include 'Question.php';
$anId = '1';
$aQuestion = 'test';
$aCorrectAnswers = '["ああ"]';
$aIncorrectAnswers = '["あ","い","うえお"]';
$aQuestionObject = new Question($anId, $aQuestion, $aCorrectAnswers, $aIncorrectAnswers);
//var_dump($aQuestionObject -> getCorrectAnswersInJSON());
//var_dump($aQuestionObject -> getIncorrectAnswersInJSON());
//var_dump($aQuestionObject -> isCorrect('ああ'));
//print('<br />');

include 'WhiskyExaminationDB.php';
$aWhiskyExaminationDB = new WhiskyExaminationDB();
$aWhiskyExaminationDB -> example();

?>

</body>
</html>