• File: connect.php
  • Full Path: /home/dealkatnwc/www/GARAGE/constant/connect.php
  • Date Modified: 12/11/2023 3:48 PM
  • File size: 450 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?php 
// DB credentials.
$localhost = "dealkatnwcdk2016.mysql.db";
$username = "dealkatnwcdk2016";
$password = "Dealka1987";
$dbname = "dealkatnwcdk2016";
//$store_url = "http://localhost/phpinventory/";
// db connection
$connect = new mysqli($localhost, $username, $password, $dbname);
// check connection
if($connect->connect_error) {
  die("Connection Failed : " . $connect->connect_error);
} else {
  // echo "Successfully connected";
}
?>