Advertisement
Guest User

Untitled

a guest
Jul 19th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. $username = "dbtrend";
  2. $password = "";
  3. $hostname = "localhost";
  4. $database = "trendofoslo";
  5. $koblingen = mysql_connect($hostname, $username, $password)
  6.  
  7. or die("Unable to connect to MySQL");
  8. print "Connected to MySQL<br>";
  9.  
  10. @mysql_select_db($trendofoslo) or die( "Unable to select database");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement