• 0
Sign in to follow this  
juh

Que Erro É Esse Que Eu Não To Entendendo?

Question

Guys me ajudem....

"Notice: Undefined index: aluno in C:\XITAMI\webpages\avaliacao\pgm_cad_alunoxdc.php on line 3

Notice: Undefined index: dob_cut in C:\XITAMI\webpages\avaliacao\pgm_cad_alunoxdc.php on line 4"

Linhas 3 e 4:

$aluno = $HTTP_POST_VARS['aluno'];

$dc = $HTTP_POST_VARS['dob_cut'];

da onde vem os valores delas:

print "<input type='text' value='$n' nome='aluno'>";

print "<input type='text' value='$campo3[cod_dc]' name='dob_cut'>";

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

No primeiro <input>, você colocou nome em vez de name. ;)

O segundo <input> está correto. Estranho... o formulário é de método POST mesmo?

Share this post


Link to post
Share on other sites
  • 0

nuss...........que furo..........................u segundo input num tem valor porque ele teria que resgatar do bd e não tem nada cadastrado nu bd ainda

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this