Skip to content

Instantly share code, notes, and snippets.



Created Jun 4, 2018
What would you like to do?
$server = 'localhost';
$username = 'giang2424_demo';
$password = '05012011';
$database = "giang2424_quanlythuchi";
$db_qltc = new mysqli($server, $username, $password, $database);//Thay tên $db_qltc
if ($db_qltc->connect_error) {
echo "<br>Lỗi kết nối";
} else {
//cho "Kết nối thành công!";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment