Validation - Not complete
This commit is contained in:
parent
fea020504c
commit
4c4d737f9a
4 changed files with 78 additions and 14 deletions
28
validation.php
Normal file
28
validation.php
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf8" />
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<h1>Validation de la question</h1>
|
||||
Vous pouvez valider la question. Cliquez simplement sur le
|
||||
lien ci dessous.<br/>
|
||||
|
||||
<input type="button" value="Valider la question"
|
||||
onclick="validate()"/>
|
||||
|
||||
|
||||
<?php
|
||||
include("Question.class.php");
|
||||
include("QuestionsFile.class.php");
|
||||
|
||||
$id = $_GET['id'];
|
||||
$file = new QuestionsFile('questions.xml');
|
||||
|
||||
$questions = $file->get_question($id);
|
||||
$question->print_test();
|
||||
?>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in a new issue