1
How to enter the value of the <input> as the radio button is selected?
A model is annexed hereto:

$funcionario = $this->funcionario->get_all_funcionario();
    if($funcionario->num_rows > 0){
    $row = $funcionario->row();
    $atributosfuncionario = array('name' => 'xd', 'class' => 'funcionario', 'value' => $row->pessoa_id);
    echo form_radio($atributosfuncionario);
    echo form_label('Funcionário');
    echo form_input(array('name' => 'pessoa', 'class' => 'selects', 'disabled' => 'disabled'), set_value('pesssoa', $row->nome));
    }
    $atributoscidadao = array('name' => 'xd', 'class' => 'cidadao');
    echo form_radio($atributoscidadao);
    echo form_label('Cidadão');
    echo '<select name="pessoa" class="select">';
    $opcao = $this->funcionario->get_all_pessoa()->result();
    foreach($opcao as $linha){
    echo '<option value="'.$linha->id.'">'.$linha->nome.'</option>';
    }
    echo '</select>';
When I register, he’s only taking the value of <option> Mário Silva, or any other value of <option>. Why can’t I get the value in the input text? I mark the radio button, and it still goes on! Does anyone know what it can be?
Dude, your question just got a little dodgy. You want to pull the value of
<option>by submitting the form and then registering at the bank?– Sam
The data’s coming from the database, and it’s going to be fed into the comic book! I only put OBS: just to inform that the option data is being displayed dynamically, ie by the database!
– Andrew Maxwell