Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $submit = strip_tags($_POST['submit']);
- $username = $_POST['user'];
- $password = $_POST['pass'];
- if ($submit)
- {
- $connect = mysql_connect("localhost","db","");
- mysql_select_db("mysttst_login");
- $queryreg = mysql_query("
- INSERT INTO phplogin VALUES('','$username','$password'
- ");
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement