How to get these input from the html by going to the phpmyadmin database Html
class="section2"
input type="radio"name="CumprimentoParada"id"A"value="CumprimentoParada"/>
input type="radio"name="CumprimentoParada" id=B"value="CumprimentoParada"/>
My php ...
$section2 = $_POST["section2"];
My connection bank
$servidor = "localhost";
$user = "root";
$pass = "root";
$banco = "cadastro";
//criar conexao
$conn = mysql_connect($servidor,$user,$pass)or die(mysql_error());
;
mysql_select_db($banco)or die (mysql_error());
$inserindo_cadastro "INSERT INTO cadastro($section2)VALUE('CumprimentoParada')";
$resultado_cadastro $sql = mysql_query($conn,$result_cadastro);
echo ("Respondido com sucesso!");
In this form it has a series of input radios, I would like to know if to be sure to call php and setup with the bank ...