Advertisement
Guest User

Untitled

a guest
Jan 31st, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. $servername = "localhost";
  2. $username = "root";
  3. $password = "";
  4. $dbname = "d2plushie";
  5.  
  6. $conn = mysqli_connect($servername, $username, $password, $dbname);
  7. if (!$conn) {
  8. die("Connection failed: " . mysqli_connect_error());
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement