Advertisement
Guest User

Untitled

a guest
Jun 27th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.26 KB | None | 0 0
  1. <?php
  2. $DB_SERVER = 'localhost';
  3. $DB_USERNAME = 'root';
  4. $DB_PASSWORD = '';
  5. $DB_NAME = '';
  6.  
  7. $link = mysqli_connect($DB_SERVER, $DB_USERNAME, $DB_PASSWORD, $DB_NAME);
  8.  
  9. if($link === false){
  10.     die("ERROR: Could not connect. " . mysqli_connect_error());
  11. }
  12. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement