瀏覽代碼

helps if i get the include filename right

devel
Rick Payton 7 年之前
父節點
當前提交
0ea9bca100
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      header.php

+ 1
- 1
header.php 查看文件

@@ -6,7 +6,7 @@
session_start();
$uname = (isset($_SESSION['username']) ? $_SESSION['username'] : null);
$userid = (isset($_SESSION['userid']) ? $_SESSION['userid'] : null);
include_once ('connect.php');
include_once ('connection.php');
$con = @new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASS, DATABASE_NAME);
if ($con->connect_errno){
die ('Unable to connect to database [' . $db->connect_errno . ']');


Loading…
取消
儲存