0
I’m trying to display the outcome of my sex field with another value. In the bank ta as F and M but in my edit I would like the result appears as male or female. I tried with if-else
but I couldn’t. My div
is this:
<div class="form-group col-md-2">
<label for="ds_sexo"> Sexo</label>
<select class="form-control" name="ds_sexo"id="ds_sexo">
<option value="<?=$cliente->ds_sexo?>"><?=$cliente->ds_sexo?>//aqui que eu gostaria que aparecer masculino ou feminino dependendo do resultado </option>
<option value="F">FEMININO</option>
<option value="M">MASCULINO</option>
</select>
</div>
explendido!!!!!!!!!
– serginho ginho