<?php
$username="root";
$password="";
$host="localhost";
$database="project";
$conn=mysqli_connect($host,$username,$password,$database);
if(!$conn)
{
echo "CONNECTION FAIL";
}
else
{
echo "CONNECT SUCESSFULLY";
}
?>
$username="root";
$password="";
$host="localhost";
$database="project";
$conn=mysqli_connect($host,$username,$password,$database);
if(!$conn)
{
echo "CONNECTION FAIL";
}
else
{
echo "CONNECT SUCESSFULLY";
}
?>
0 comments:
Post a Comment