I'm doing a form in PHP, when it captures the data from a select it returns me only as 0 or 1, I would like it to show what the person selected:
<select class="form-control" name="pergunta1" required>
<option selected="" value="">ESCOLHA SUA RESPOSTA</option>
<option value="camuflado">CAMUFLADO</option>
<option value="gancho">GANCHO</option>
<option value="estimulante">ESTIMULANTE</option>
<option value="lamina">LÂMINA SÔNICA</option>
<option value="holopiloto">HOLOPILOTO</option>
<option value="escudo">ESCUDO</option>
<option value="cronossalto">CRONOSSALTO</option>
</select>
<?php
$resposta1 = isset($_GET['pergunta1'])?isset($_GET['pergunta1']):0;
$resposta2 = isset($_GET['pergunta2'])?isset($_GET['pergunta2']):0;
echo "$resposta1";
?>
When it returns the echo it returns as 1 or 0, would like it to return as a string, for example if the person selected "camouflaged" returns "camouflaged" instead of 1 or 0.