Guest User

Untitled

a guest
May 30th, 2018
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. <?php
  2. $servername = "localhost";
  3. $username = "root";
  4. $password = "";
  5. $db = "infinite_scrolling";
  6. // Create connection
  7. $conn = mysqli_connect($servername, $username, $password, $db);
  8. // Check connection
  9. if (!$conn) {
  10. die("Connection failed: " . mysqli_connect_error());
  11. }
  12. ?>
Add Comment
Please, Sign In to add comment