Erro
Olá eu fiz um formulario Que redireciona para amesma página mas ta dando esse erro http://prntscr.com/f32gi7
<!DOCTYPE>
<html lang="pt-br">
<head>
<title>Cadastro</title>
<meta charset="utf-8">
</head>
<body>
<form name="form" action="index.php" method="post" >
Email: <input type="email" name="email" class="email"><br><br>
Senha: <input type="password" name="senha" class="senha"><br><br>
Idade: <input type="number" name="idade" class="idade"><br><br>
<input type="submit" class="submit">
</form>
<?php
header('Content-Type: text/html; charset=utf-8');
$v = $_POST["email"];
?>
<style>body {
font-family:tahoma;
}
.email {
border:2px solid blue;
color:red;
opacity:1;
}.email:hover{
border:1px solid black;
opacity:1;
}
.senha {
border:2px solid blue;
}.senha:hover {
border:1px solid black;
}
.idade {
border:2px solid blue;
}.idade:hover {
border:1px solid black;
}
.submit {
border:3px solid #00FF00;
font-family:tahoma;
padding:2px;
margin:5px 0 0 12px;
width:220px;
heigth:55px;
}.submit:hover {
border:1px solid #00FF00;
position:relative;
top:2px;
}
</style>
</body>
</html>
O que será o apache e o mysql estão azulDiscussão (3)
Carregando comentários...