9 lines
256 B
PHP
9 lines
256 B
PHP
<?php
|
|
$host = '127.0.0.1:3306';
|
|
$user_name = 'root';
|
|
$password = '1a9t7y';
|
|
$db_name = 'inventory';
|
|
|
|
$conn = mysqli_connect($host, $user_name, $password, $db_name) or die("Failed to
|
|
connect to MySQL: " . mysqli_error($conn));
|
|
?>
|