Advertisement
Guest User

Untitled

a guest
Mar 16th, 2017
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. <?php
  2. $username = "root";
  3. $password = "xxxxxxxxx";
  4. $hostname = "137.74.155.249";
  5.  
  6. // Create connection
  7. $conn = mysqli_connect($servername, $username, $password);
  8.  
  9. // Check connection
  10. if (!$conn) {
  11. die("Connection failed: " . mysqli_connect_error());
  12. }
  13. echo "Connected successfully";
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement