Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $host = "localhost"; // Nama hostnya
- $username = "eping"; // Username
- $password = "epingindo"; // Password (Isi jika menggunakan password)
- $database = "eping_epingindo"; // Nama databasenya
- $connect = mysqli_connect($host, $username, $password, $database); // Koneksi ke MySQL
- if ($connect){
- echo "Berhasil";
- }else{
- echo "Gagal";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement