1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| <form name="formulaire" method="post" enctype="multipart/form-data" action="modification.php" onsubmit="javascript:return verifform();">
<td width="500"><font size=3><b> Saisir les dates :</b></font></td>
<label> <strong> Début (*) : </strong> </strong> </label>
<?php
$datedebut= isset($_POST['datedebut']) ? $_POST['datedebut'] :'' ;
$datefin=isset ($_POST['datefin']) ? $_POST['datefin'] :'';
$_session['datedebut']=$datedebut;
echo $_session['datedebut'];
$_session['datefin']=$datefin;
echo $_session['datefin'];
echo '<input name="datedebut" type="text" size="30" value="'.$_session['datedebut'].'"/>'; ?>
<label> <strong> Fin (*) : </strong> </label>
<?php
echo '<input name="datefin" type="text" size="30" value="'.$_session['datefin'].'"/>'; '</br>'?> </br></br>
<input type="submit" value="Envoyer" name="envoyer" onsubmit="javascript:return verifform();">
</form> |