Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $username = $_POST['username'];
- $password = $_POST['password'];
- if ($username && $password)
- {
- $connect = mysql_connect ("localhost","root","") or die ("Couldn't connect!");
- mysql_select_db("phplogin") or die ("couldn't find db");
- }
- else
- die("Please enter user or pass");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement