Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host = "localhost";
- $user = "root";
- $pass = "123";
- $db = "zaen";
- $conn = mysqli_connect($host, $user, $pass, $db);
- if($conn){
- echo "Koneksi Kedatabase Berhasil";
- }else {
- echo "Koneksi Kedatabase gagal";
- }
- ?>
Add Comment
Please, Sign In to add comment