-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcad_usuario2.php
41 lines (37 loc) · 1.08 KB
/
cad_usuario2.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="utf-8">
<title>CRUD - Cadastrar</title>
</head>
<body>
<a href="cad_usuario.php">Cadastrar</a><br>
<a href="index.php">Listar</a><br>
<h1>Cadastrar Usuário - Gustavo Testando</h1>
<?php
if(isset($_SESSION['msg'])){
echo $_SESSION['msg'];
unset($_SESSION['msg']);
}
?>
<form method="POST" action="proc_cad_usuario.php">
<label>Nome: </label>
<input type="text" name="nome" placeholder="Digite o nome completo"><br><br>
<label>E-mail: </label>
<input type="email" name="email" placeholder="Digite o seu melhor e-mail"><br><br>
<fieldset>
<legend>A sua empresa atende pessoa jurídica ou pessoa física?</legend>
<div>
<input type="radio" name="tipo" value="b2b" checked>PJ (B2B)<br>
</div>
<div>
<input type="radio" name="tipo" value="b2c">PF (B2C)<br>
</div>
</fieldset>
<input type="submit" value="Cadastrar">
</form>
</body>
</html>