Advertisement
Guest User

Untitled

a guest
Sep 26th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <?php
  2. $submit = strip_tags($_POST['submit']);
  3. $username = $_POST['user'];
  4. $password = $_POST['pass'];
  5. if ($submit)
  6. {
  7. $connect = mysql_connect("localhost","db","");
  8. mysql_select_db("mysttst_login");
  9. $queryreg = mysql_query("
  10. INSERT INTO phplogin VALUES('','$username','$password'
  11. ");
  12. }
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement