Advertisement
Guest User

Untitled

a guest
Apr 7th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2. $host = '127.0.0.1';
  3. $user = '';
  4. $password = '';
  5. $database = '';
  6. $connect= mysqli_connect($host,$user,$password,$database);
  7. if(mysqli_connect_errno()){
  8. die("can't contact database");
  9. }
  10. else {
  11. echo 'database connectd ';
  12. }
  13.  
  14. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement