Advertisement
Guest User

Untitled

a guest
Nov 19th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.37 KB | None | 0 0
  1. <form action="ACA VA EL ARCHIVO PHP" method="post">
  2.     <input type="text" name="user" placeholder="Ingrese su usuario"/>
  3.     <input type="password" name="password"  placeholder="Ingrese su password" />
  4. </form>
  5.  
  6. <!-- Ahora el archivo php -->
  7.  
  8. $user = $_POST["user"];
  9. $pass = $_POST["pass"];
  10.  
  11. $sql = "INSERT INTO accounts(cuenta, contraseña) VALUES ('".$user."', '".$pass."' );";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement