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("Couln't connect");
- mysql_select_db("login") or die("Coulnt...");
- }
- else
- die("Please enter a username and password");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement