Guest User

Untitled

a guest
Jul 16th, 2018
267
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. <?php
  2. $host = "localhost";
  3. $username = "";
  4. $password = "";
  5. $database = "";
  6.  
  7. $connect = new mysqli($host, $username, $password, $database);
  8.  
  9. if ($connect->connect_error) {
  10. die("Connection failed: " . $connect->connect_error);
  11. }
  12. ?>
Add Comment
Please, Sign In to add comment