I have the following form
</p>
<p align="center">Nome:
<input name="nome" type="text" id="nome">
<br />
<br />
<strong>Email:</strong>
<input name="email" type="text" id="email" size="45" />
<br />
<br />
<strong>Palpites Grupo A <span class="style1">PRIMEIRA</span> Rodada dias 14/06 e 15/06</strong><br />
<textarea name="palpites" id="palpites" cols="45" rows="2">A X - X B
C X - X D
</textarea>
<br />
<br />
<strong>Palpites Grupo A <span class="style1">SEGUNDA</span> Rodada dias 19/06 e 20/06</strong><br />
<textarea name="palpites2" id="palpites2" cols="45" rows="2">A X - X C
B X - X D
</textarea>
<br />
<br />
<strong>Palpites Grupo A <span class="style1">TERCEIRA</span> Rodada dia 25/06</strong><br />
<textarea name="palpites3" id="palpites3" cols="45" rows="2">A X - X D
B X - X C
</textarea>
<br />
<br />
<input type="submit" value="Cadastrar" >
</p>
</form>
</body>
</html>
and my page register this as follows
<?php
$connect = mysql_connect('localhost','root','');
$db = mysql_select_db('copa');
$query = "INSERT INTO palpites (id,nome,email,palpites,palpites2,palpites3) VALUES ('$id','$nome','$email','$palpites','$palpites2','$palpites3')";
@mysql_query($query);
@mysql_close();//fecha conexao
?>
<script>
alert("dados gravados com sucesso") ;
</script>
// volta pra lá
<?PHP
header("Refresh: 0; /bolao/home/palpitar.php");
?>
But just the id is being sent, or actually being placed automatically by mysql, can anyone help me please? Att Alberico