Advertisement
rafisbr

config.php

May 22nd, 2022
29
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.  
  3.  
  4. $host="localhost";
  5. $user="root";
  6. $pass="";
  7. $database="sys_it";
  8.  
  9. $koneksi=mysqli_connect($host,$user,$pass,$database);
  10. if (mysqli_connect_errno()) {
  11. trigger_error('Failed To Connected Database: ' . mysqli_connect_error(), E_USER_ERROR);
  12. }
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement