Advertisement
Guest User

cancerofdylan

a guest
Oct 13th, 2016
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2. $servername = "localhost";
  3. $username = "root";
  4. $password = "";
  5. $dbname = "details";
  6.  
  7. $conn = new mysqli ($servername, $username, $password, $dbname);
  8.  
  9. if ($conn->connect_error) {
  10. die("Connection failed: " . $conn->conenct_error);
  11. }
  12.  
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement