Advertisement
Guest User

Untitled

a guest
Dec 25th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <?php
  2. $server = "YOUR_SERVER_ADDRESS";
  3. $username = "YOUR_USERNAME";
  4. $password = "YOUR_PASSWORD";
  5. $database = "YOUR_DATABASE_NAME";
  6. $connId = mysql_connect($server,$username,$password) or die("Cannot connect to server");
  7. $selectDb = mysql_select_db($database,$connId) or die("Cannot connect to database");
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement