aulinha
This commit is contained in:
167
form.php
Normal file
167
form.php
Normal file
@@ -0,0 +1,167 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-br">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Formulário</title>
|
||||
<link rel="stylesheet" href="estilo.css">
|
||||
</head>
|
||||
<body>
|
||||
<body>
|
||||
<header><h1>Aula 2 - Formulários</h1></header>
|
||||
<nav></nav>
|
||||
<main>
|
||||
<?php
|
||||
if(isset($_POST["nome"])){
|
||||
$nome = $_POST["nome"];
|
||||
}
|
||||
else{
|
||||
$nome = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["dn"])){
|
||||
$dn = $_POST["dn"];
|
||||
}
|
||||
else{
|
||||
$dn = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["mp"])){
|
||||
$mp = $_POST["mp"];
|
||||
}
|
||||
else{
|
||||
$mp = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["c"])){
|
||||
$c = $_POST["c"];
|
||||
}
|
||||
else{
|
||||
$c = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["html"])){
|
||||
$html = $_POST["html"];
|
||||
}
|
||||
else{
|
||||
$html = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["cpp"])){
|
||||
$cpp = $_POST["cpp"];
|
||||
}
|
||||
else{
|
||||
$cpp = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["PHP"])){
|
||||
$PHP = $_POST["PHP"];
|
||||
}
|
||||
else{
|
||||
$PHP = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["JS"])){
|
||||
$JS = $_POST["JS"];
|
||||
}
|
||||
else{
|
||||
$JS = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["java"])){
|
||||
$java = $_POST["java"];
|
||||
}
|
||||
else{
|
||||
$java = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["cc"])){
|
||||
$cc = $_POST["cc"];
|
||||
}
|
||||
else{
|
||||
$cc = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["outra"])){
|
||||
$outra = $_POST["outra"];
|
||||
}
|
||||
else{
|
||||
$outra = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["outral"])){
|
||||
$outral = $_POST["outral"];
|
||||
}
|
||||
else{
|
||||
$outral = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["en"])){
|
||||
$en = $_POST["en"];
|
||||
}
|
||||
else{
|
||||
$en = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["es"])){
|
||||
$es = $_POST["es"];
|
||||
}
|
||||
else{
|
||||
$es = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["ma"])){
|
||||
$ma = $_POST["ma"];
|
||||
}
|
||||
else{
|
||||
$ma = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["outrali"])){
|
||||
$outrali = $_POST["outrali"];
|
||||
}
|
||||
else{
|
||||
$outrali = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["outralin"])){
|
||||
$outralin = $_POST["outralin"];
|
||||
}
|
||||
else{
|
||||
$outralin = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["for"])){
|
||||
$for = $_POST["for"];
|
||||
}
|
||||
else{
|
||||
$for = null;
|
||||
}
|
||||
|
||||
if(isset($_POST["ep"])){
|
||||
$ep = $_POST["ep"];
|
||||
}
|
||||
else{
|
||||
$ep = null;
|
||||
}
|
||||
|
||||
|
||||
echo"
|
||||
<p>Nome: $nome</p>
|
||||
<p>Data de nascimento: $dn</p>
|
||||
<p>Tempo de experiência: $mp meses</p>
|
||||
<p>Conhece as linguagens: $c $cpp $html $JS $PHP $java $cc</p>
|
||||
<p>$outra $outral</p>
|
||||
<p>Fala as lingua: $en $es $ma </p>
|
||||
<p>$outrali $outralin </p>
|
||||
<p>Formação: $for</p>
|
||||
<p>Experiência profissional: $ep</p>
|
||||
";
|
||||
?>
|
||||
</main>
|
||||
<footer><h1>Programação WEB II - Prof. James Willian</h1></footer>
|
||||
</body>
|
||||
</html>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user