I am having problems sending data passed by the form + php, and appear in the database .... When I go in phpMyadmin only appears the data that I once handbook, it is not being dynamic to display in phpMyadmin, I would like your help ... I have my head aching already ... Connection
$servidor = "localhost";
$user = "root";
$pass = "root";
$banco = "cadastro";
//criar conexao
$conn = mysql_connect($servidor,$user,$pass,$banco)or die(mysql_error());
echo ("enviado com sucesso");
mysql_select_db($banco)or die(mysql_error());
The php variables
$Cobranca = $_POST['Cobranca'];
$Conducao = $_POST['Conducao'];
$conforto = $_POST['conforto'];
$Conservacao = $_POST['Conservacao'];
$CumprimentoParada = $_POST['CumprimentoParada'];
$Distancia = $_POST['Distancia'];
$email = $_POST['email'];
$Entrega = $_POST['Entrega'];
$horario = $_POST['horario'];
$Itinérario = $_POST['Itinérario'];
$Limpeza = $_POST['Limpeza'];
$Manutencao = $_POST['Manutencao'];
$phone = $_POST['phone'];
$tCobrador = $_POST['tCobrador'];
$Tratamento = $_POST['Tratamento'];
$email = $_POST['email'];
$phone = $_POST['phone'];
$erro = 0;
Inserting all variables in the database
$insereDados = mysql_query("INSERT INTO respostas(Cobranca,Conducao,conforto,Conservacao,CumprimentoParada)VALUES('$Cobranca','$Conducao','$conforto','$Conservacao')");