add id when change question -> Changing a question is still not working
This commit is contained in:
parent
471a636641
commit
f3af3ffc25
4 changed files with 9 additions and 5 deletions
|
|
@ -33,7 +33,7 @@ $question = $fileQ->get_question($id);
|
|||
<section id="introduction">
|
||||
<article>
|
||||
<h2>Dernière chance pour changer d'avis</h2>
|
||||
Voici le rappel de votre question :<br/>
|
||||
Voici le rappel de votre question :<br/><br/>
|
||||
<?php $question->print_test(); ?>
|
||||
|
||||
Vous avez la possibilité de modifier votre question avant de la
|
||||
|
|
@ -44,6 +44,8 @@ $question = $fileQ->get_question($id);
|
|||
<h2>Modifier la question...</h2>
|
||||
<form id="formulaire" method="post" action="validateChangeQuestion.php">
|
||||
|
||||
<input type="hidden" name="id" id="id" value=<?php echo $question->getId() ?> />
|
||||
|
||||
<section id="Form">
|
||||
<label for="course">De quelle matière s'agit-il ?</label><br/>
|
||||
|
||||
|
|
|
|||
Reference in a new issue