bonjour,
voici mon code:je n'arrive pas à affecter le value à $id1 (value="<?php echo $id1; ?>") , pourtant $id1 s'affiche bien par mon echo au début.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20echo $id1; echo' <form action="add5.php" method="post">'; echo' <br>'; echo' <TD>1er Report (O ou N)?:</TD>'; echo' <input type="text" name="Report1" size="20" value="" maxlength="50">'; echo' <TD>Faite <INPUT type=CHECKBOX name="Fait1" value="O" ><br>'; echo' <TD>Faire le report de cette retenue: </TD>'; echo' <INPUT type=CHECKBOX name="Report1" value="O" >'; echo' <TD>Quand ?:</TD>'; echo' <input type="text" name="Quand2" size="20" value="" maxlength="50">'; echo' <TD>Heure début:</TD>'; echo' <input type="text" name="Heures2" size="5" value="" maxlength="5">'; echo' <TD>Heure fin:</TD>'; echo' <input type="text" name="Heures2bis" size="5" value="" maxlength="5">'; echo' <input type="text" name="id1" size="20" value="<?php echo $id1; ?>"'; echo' </TR>'; echo' <input type="submit" value="Valider la saisie (Faite ou Report)" name="envoyer"></br>'; echo' </TD>';
Je pense que c'est une histoire de ponctuation mais je ne trouve pas...
merci
Partager