Guest User

Untitled

a guest
Sep 29th, 2016
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1.  
  2. <?php
  3. $DB_HOST = 'mysql8.000webhost.com';
  4. $DB_USER = 'a1142635_root';
  5. $DB_PASS = 'root123';
  6. $DB_NAME = 'a1142635_test';
  7. $conn = new mysqli($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME);
  8.  
  9. // Check connection
  10. if ($conn->connect_error) {
  11. die("Connection failed: " . $conn->connect_error);
  12. }
  13. //echo "Connected successfully";
  14. ?>
Add Comment
Please, Sign In to add comment