Fix tableprefix and cart mysql
This commit is contained in:
parent
723dd58e71
commit
ba6b8d9e6b
19 changed files with 161 additions and 39 deletions
|
|
@ -7,8 +7,8 @@
|
|||
</head>
|
||||
<body>
|
||||
<?php
|
||||
// Include database configuration
|
||||
require_once(__DIR__ . '/includes/config.inc.php');
|
||||
// Include billing bootstrap (loads config and DB helper)
|
||||
require_once(__DIR__ . '/bootstrap.php');
|
||||
|
||||
// Create database connection
|
||||
$db = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
|
||||
|
|
@ -165,7 +165,7 @@ $result = mysqli_query($db, $query);
|
|||
|
||||
<?php
|
||||
// Close database connection
|
||||
mysqli_close($db);
|
||||
billing_maybe_close_db($db);
|
||||
?>
|
||||
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue