I want the user to load the data update page to see the data that he has entered in his record. I can see the data that is in type = text but not in type = radius.
View:
<?php foreach ($resultados_pesquisa as $linha) {
$nome = $linha["NOME"];
$genero $linha["GENERO"];
?>
<form class="form-horizontal" action="<?php echo site_url('Menu');?>" method="post" accept-charset="utf-8">
<h3>Dados pessoais</h3>
<!-- Nome -->
<div class="form-group">
<label for="inputName" class="col-sm-2 control-label">Nome</label>
<input type="text" name="nome" value="<?php echo $nome ?>" class="form-control" id="inputName" placeholder="Nome">
</div>
<!-- Genero -->
<div class="form-group">
<label for="inputGenero" class="col-sm-2 control-label">Genero</label>
<label id="masculino">
<input type="radio" name="genero" value="masculino">Masculino
</label>
<label id="feminino">
<input type="radio" name="genero" value="feminino">Feminino
</label>
</div>
</form>
<?php } ?>