0
Can someone please answer me why these errors in the form?
<?php
// Display errors
ini_set('display_errors', 1);
extract($_POST);
// Configuracoes sobre a pagina
$bgcolor = "#FFFFFF";
$titulo = ">> Meu site";
$assunto = "Meu site";
$remetente = "$email";
$destinatario = "[email protected]";
// Corpo da página
echo "<head><title>$titulo</title><meta http-equiv=refresh content=100;URL=http://www.meusite.com.br/cont-consulta.htm;target=parent></head>\n";
echo "<p align=center> $nome! Sua mensagem foi enviada com sucesso! <br> Retornaremos dentro de 24hs. Obrigado! <p>" ;
echo " </font></b></font>";
// Dados e configurações da função mail()
$headers = "From: $assunto<$remetente>" . "\r\n";
$mensagem = ":: meu site ::\n
\nNome: $nome
\nEmail: $email
\nCidade: $cidade
\nEstado: $estado
\nMensagem: $msg\n";
// Envia o email
$enviaemail = mail("$destinatario", "$assunto", "$mensagem", $headers);
// Rodapé da página
echo "</body>";
echo "</html>";
?>
Thanks for the help.

Welcome to Stack Overflow in English :D I recommend visiting [tour] to learn more about how Stack Overflow works. Be more specific in your question, put the error in text and not in image, because this will facilitate the visualization by those who see by mobile.
– Renato Junior
The values for the variables
$nome, $cidade, $estado, $msgare being sent? Put your HTML in question– user60252
Every time an operation is performed with a variable of
"valor indefinido"PHP displays the message Notice: Undefined variable.– user60252
The variables
$nome,$email,$cidade,$estadoand$msgare set somewhere?– André Ferraz