000webhosting | Free webhosting | 000webhosting database connection | data base connection | databse connection in 000webhosting | code
<?php
$servername = "localhost";
$username = "id1*********hwarsah";
$password = "0*********2";
$database = "id1*********war";
// Create connection
$conn = mysqli_connect($servername, $username, $password, $database);
// Check connection
if (!$conn) {
die("Connection failed: " . mysqli_connect_error());
}
echo "Connected successfully";
?>
Comments