Guest User

Untitled

a guest
Feb 8th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. $servername = "localhost";
  2. $username = 'admin';
  3. $password = 'admin';
  4. $dbname = 'testdb';
  5.  
  6. mysql_connect($servername, $username, $password) OR DIE('Unable to connect to database! Please try again later.');
  7. mysql_select_db($dbname);
Add Comment
Please, Sign In to add comment