Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title>Cadastrando...</title>
- </head>
- <body>
- <?php
- $host = "localhost";
- $user = "root";
- $pass = "";
- $banco = "cadastro";
- $conexao = @mysql_connect($host, $user, $pass) or die(mysql_error());
- mysql_select_db($banco) or die(mysql_error());
- ?>
- <?php
- $nome=$_POST['nome'];
- $sobrenome=$_POST['sobrenome];
- $email=$_POST['email'];
- $email1=$POST['email1'];
- $senha=$POST['senha'];
- $senha1=$POST['senha1'];
- $perfil=$POST['perfil'];
- $sql = mysql_query("INSERT INTO usuarios(nome, sobrenome, email, email1, senha, senha1, perfil) VALUES('$nome', '$sobrenome', '$email', '$email1', '$senha', '$senha1', '$perfil')");
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement