Created
January 27, 2018 05:29
-
-
Save wichaksono/d4e0b1e7c323b38b1dee76e0acc4b16d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$dbhost = 'localhost'; | |
$dbuser = 'root'; | |
$dbpass = ''; | |
$dbname = 'votes'; | |
$connect = new mysqli($dbhost, $dbuser, $dbpass, $dbname); | |
if ($connect->connect_error) { | |
die('Error Koneksi : ' . $connect->connect_error); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment