Guest User

Untitled

a guest
Oct 25th, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. <?php
  2. $servername = "<the ip address of the zuver site>";
  3. $username = "<the mysql username>";
  4. $password = "<the password>";
  5. $dbname = "<the database name>";
  6.  
  7. // Create connection
  8. $conn = mysqli_connect($servername, $username, $password, $dbname);
  9. // Check connection
  10. if (!$conn) {
  11. die("Connection failed: " . mysqli_connect_error());
  12. }
  13. ?>
Add Comment
Please, Sign In to add comment