PHP Classes

File: example/accept.php

Recommend this page to a friend!
  Classes of Samuel Adeshina   TeXML   example/accept.php   Download  
File: example/accept.php
Role: Example script
Content type: text/plain
Description: A test file
Class: TeXML
Create and evaluate online questionnaire tests
Author: By
Last change: Merge branch 'master' of https://github.com/Samshal/TeXML
Date: 9 years ago
Size: 266 bytes
 

Contents

Class file image Download
<?php
   
require_once("../src/TeXML.php");


   
$texml = new TeXML();

   
//s$options = array(2, 4, 6, 20, 10);
   
$answer = $_GET["A"];
   
$question = $texml->AcceptAnswer($answer);

    echo
$_SESSION["Correct"]."<br/>".$_SESSION["Incorrect"];
   
header("Location: test.php");
?>