1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| <td width="163">Inter-région</td>
<td width="294"><select name="region" size="1" id="region">
<option value="-1" selected="selected"><?php echo $region;?></option>
<?php while(!$Recordset_regions->atEnd()) { //dyn select ?>
<option value="<?php echo($Recordset_regions->getColumnVal("interregion")); ?>"<?php if (!(strcmp($Recordset_regions->getColumnVal("interregion"), ($Recordset_infos_adh->getColumnVal(""))))) {echo "selected=\"selected\"";} ?>><?php echo($Recordset_regions->getColumnVal("interregion")); ?></option>
<?php
$Recordset_regions->moveNext();
} //dyn select
$Recordset_regions->moveFirst();
?> </select></td>
</tr>
<tr>
<td>Direction</td>
<td><select name="direction" size="1" id="direction">
<option value="-1" selected="selected"><?php echo $direction;?></option>
<?php while(!$Recordset_directions->atEnd()) { //dyn select ?>
<option value="<?php echo($Recordset_directions->getColumnVal("direction")); ?>" selected class="<?php echo($Recordset_directions->getColumnVal("inter_region_lib")); ?>"><?php echo($Recordset_directions->getColumnVal("direction")); ?></option>
<?php
$Recordset_directions->moveNext();
} //dyn select
$Recordset_directions->moveFirst();
?> </select></td>
</tr>
<tr>
<td>Votre comité est</td>
<td><select name="comite" size="1" id="comite">
<option value="-1" selected="selected"><?php echo $comite;?></option>
<?php while(!$Recordset_comites->atEnd()) { //dyn select ?>
<option value="<?php echo($Recordset_comites->getColumnVal("comite")); ?>" class="<?php echo($Recordset_comites->getColumnVal("direction")); ?>"><?php echo($Recordset_comites->getColumnVal("comite")); ?></option>
<?php
$Recordset_comites->moveNext();
} //dyn select
$Recordset_comites->moveFirst();
?>
</select></td>
</tr>
</table> |
Partager