Valid XHTML    Valid CSS2    

Listing du fichier sen_hist_form.php

 

00001     <?php
00002     
include("mesfonctions3.php") ;
00003     
debutPage
("Questionnaire d'histoire","strict") ;
00004     include(
"sen_hist.php") ;
00005     
$tabh
= hist() ;
00006     
00007     
h1_version1
("Questionnaire d'histoire") ;
00008     
00009     echo
"<p>Donner les dates correspondants aux évènements puis cliquer sur le bouton de correction.</p>\n" ;
00010     
00011     echo
"<form action='sen_hist_rep.php' method='get'>\n" ;
00012     echo
"<blockquote>\n ";
00013     echo
"<table border='1' summary='questions' class='collapse'>\n ";
00014     echo
"<tr>\n" ;
00015     echo
"<th>Evènement</th>\n" ;
00016     echo
"<th>Date ?</th>\n" ;
00017     echo
"</tr>\n" ;
00018     
$ide
= 0 ; # indice de numéro
00019     
foreach (
$tabh as $cle => $valeur) {
00020     
$ide++ ;
00021      echo
"<tr>\n" ;
00022      echo
"<td>
$valeur</td>\n" ;
00023      echo
"<td><input type='text' name='c
$ide' /></td>\n" ;
00024      echo
"</tr>\n" ;
00025     } ;
# fin pourchaque
00026     
echo
"</table>\n ";
00027     echo
"<p><input type='submit' value='correction' /></p>\n" ;
00028     echo
"</blockquote>\n ";
00029     echo
"</form>\n" ;
00030     
00031     
finPage() ;
00032     
?>

Pour ne pas voir les numéros de ligne, ajoutez &nl=non à la suite du nom du fichier.

 

 

retour gH    Retour à la page principale de   (gH)