Database Configuration
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
//database configuration
$host = "localhost";
$user = "root";
$pass = "";
$database = "android_news_app_db";
$connect = new mysqli($host, $user, $pass, $database);
if (!$connect) {
die ("connection failed: " . mysqli_connect_error());
} else {
$connect->set_charset('utf8mb4');
}