Guest User

Untitled

a guest
Sep 27th, 2018
141
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. $host = "localhost";
  3. $userName = "fyrhp";
  4. $password = "RTDE";
  5. $dbName = "fyrhp";
  6.  
  7. // Create database connection
  8. $conn = new mysqli($host, $userName, $password, $dbName);
  9.  
  10. // Check connection
  11. if ($conn->connect_error) {
  12. die("Connection failed: " . $conn->connect_error);
  13. }
  14. ?>
Add Comment
Please, Sign In to add comment