Answers for "php database connection >=5.6"

PHP
0

php database connection >=5.6

$user = 'root';
$password = 'root';
$db = 'inventory';
$host = 'localhost';
$port = 8889;

$link = mysqli_init();
$success = mysqli_real_connect(
   $link,
   $host,
   $user,
   $password,
   $db,
   $port
);
Posted by: Guest on April-20-2021

Browse Popular Code Answers by Language