add id when change question -> Changing a question is still not working

This commit is contained in:
Bertrand 2012-06-16 19:52:08 +02:00
commit f3af3ffc25
4 changed files with 9 additions and 5 deletions

View file

@ -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/>