PHP Classes

File: index.php

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

Contents

Class file image Download
<?php
   
// index.php
   
session_start();
   
session_destroy();

    require_once(
"class.quiz.php");
   
$quiz = new quiz();


?>

<!DOCTYPE html>
<html>
<head>
    <title>Quiz</title>
    <link rel="stylesheet" type="text/css" href="./css/style.css">
</head>
<body>

    <div class="wrapper">
        <h1>Choose your Quiz</h1>
        <hr>
        <?= $quiz->showQuizes(); ?>

    </div>

</body>
</html>