PHP Classes

File: answer.php

Recommend this page to a friend!
  Classes of Martijn Waeyenbergh   PHP Quiz Application   answer.php   Download  
File: answer.php
Role: Example script
Content type: text/plain
Description: answer
Class: PHP Quiz Application
Show quizzes using questions read from an INI file
Author: By
Last change:
Date: 6 months ago
Size: 409 bytes


Class file image Download
$quiz = new quiz();

<!DOCTYPE html>
    <title>Quiz : <?= $quiz->prettyName($_SESSION['quiz']) ?></title>
    <link rel="stylesheet" type="text/css" href="./css/style.css">
    <div class='wrapper'>
        <h1><?= $quiz->prettyName($_SESSION['quiz']) ?></h1>
        <?= $quiz->checkAnswer($_GET['a']); ?>