Advertisement
Guest User

Untitled

a guest
Feb 24th, 2018
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. <?php
  2. $host = "localhost";
  3. $username = "pulsa";
  4. $password = "";
  5. $db_name = "pulsa";
  6. $mysqli = new mysqli($host, $username, $password, $db_name);
  7. if(mysqli_connect_errno()) {
  8. echo "Error: Could not connect to database.";
  9. exit;
  10. }
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement