Advertisement
Guest User

Untitled

a guest
Oct 25th, 2018
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <?php
  2. $servername = "localhost";
  3. $username = "Root";
  4. $password = "";
  5.  
  6. // // Create connection
  7. $conn = new mysqli($servername, $username, $password);
  8.  
  9. // Check connection
  10. if ($conn->connect_error) {
  11. die("Connection failed: " . $conn->connect_error);
  12. }
  13. echo "Connected successfully";
  14. ?>
  15. <!DOCTYPE html>
  16. <html>
  17. <head>
  18. <title></title>
  19. </head>
  20. <body>
  21.  
  22. </body>
  23. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement