Ask Question

Menu

Need MCA Or B.tech College Project Contact Us: +91 9437911966 (Whatsapp) Students Tutorial


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