1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| <?php $apInsc=0; do {?> // $apInsc est la var à incrementer
<tr>
//affiche un champ de la bd elle ne rentre pas dans mon problème
<td><?php echo get_libelle($result['code_action'], 'actions', 'code_action', 'libelle_action')?></td>
....................
<td><label></label>
<label></label>
<label></label> <label>
// cellule qui contient un champ de saisie
<?php echo '<input name="ap_inscrit"."$apInsc" type="text" id="ap_inscrit" size="17" />' ; $apInsc++;?>
</label></td>
</tr>
<?php }while ($result = mysql_fetch_assoc ($query)); ?> |