Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <form action="ACA VA EL ARCHIVO PHP" method="post">
- <input type="text" name="user" placeholder="Ingrese su usuario"/>
- <input type="password" name="password" placeholder="Ingrese su password" />
- </form>
- <!-- Ahora el archivo php -->
- $user = $_POST["user"];
- $pass = $_POST["pass"];
- $sql = "INSERT INTO accounts(cuenta, contraseña) VALUES ('".$user."', '".$pass."' );";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement