Ask Question

Menu


Need a Website Or Web Application Or Any Help In Code As Per Your Budget, Contact Us: +91 9437911966 (Whatsapp)

MySQLi database Connection in PHP


Example

<?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.

Here