Rev 8 | Rev 24 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<label style="display:inline;"> <?= $amc_nom ?> : </label>
<select name="select_<?=$amc_id_champ?>" id="select_<?=$amc_id_champ ?>">
<option name="option_0" id="option_0" value="0" <?php if (!isset($valeur_defaut['amv_valeur'])) { echo 'selected="selected"'; } ?>" > ... </option>
<?php foreach($liste_valeurs as $valeur) : ?>
<option name="option_<?=$valeur['amo_id_ontologie']?>" id="option_<?=$valeur['amo_id_ontologie']?>" value="<?=$valeur['amo_id_ontologie'] ?>" <?php if (isset($valeur_defaut['amv_valeur']) && $valeur['amo_id_ontologie'] == $valeur_defaut['amv_valeur']) { echo 'selected="selected"'; } ?>" > <?=$valeur['amo_nom']?> </option>
<?php endforeach; ?>
</select>