MySQLi database Connection in PHP
// Create connection
$conn = mysqli_connect("localhost","root","admin","mydb");
This code also use as database connection but it will not show the output message that it is successfully connect or not.
- mydb=database name