aulinha›

This commit is contained in:
111111111111111111111111111 EMAIL
2025-10-02 20:01:35 -03:00
commit bf0d0595ed
18 changed files with 1391 additions and 0 deletions

167
form.php Normal file
View 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>