Advertisement
Guest User

Untitled

a guest
Apr 5th, 2019
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.21 KB | None | 0 0
  1. <?php
  2.  
  3. $host = 'localhost';
  4. $user = 'root';
  5. $password = '';
  6. $database = 'test';
  7.  
  8. $db = @mysqli_connect($host, $user, $password, $database)
  9. OR die('Could not connect to MySQL: ' . mysqli_connect_error());
  10.  
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement