Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host="localhost";
- $user="root";
- $pass=" ";
- $dbase="krida";
- $con= new mysqli($host,$user,$pass,$dbase);
- if($con->connect_erno >0){
- trigger_error('Database Gagal Terhubung'.$con->error,E_USER_ERROR);
- }else{
- echo 'Database Berhasil Terhubung';
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement