Advertisement
Guest User

Untitled

a guest
Oct 13th, 2016
119
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. $DB_HOST = 'server27.000webhost.com';
  3. $DB_USER = 'a3435572_survey1';
  4. $DB_PASS = 'nhrapsurvey123';
  5. $DB_NAME = 'a3435572_survey';
  6. $conn = new mysqli($DB_HOST, $DB_USER, $DB_PASS, $DB_NAME);
  7.  
  8. // Check connection
  9. if ($conn->connect_error) {
  10. die("Connection failed: " . $conn->connect_error);
  11. }
  12. //echo "Connected successfully";
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement