-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 0 replies
- 7 views
-
- 3 answers
- 3,228 views
-
QNAP issues patch for an RCE security vulnerability affecting PHP in NAS Drive management
By Alap Naik Desai,
- remote code execution
- rce
- (and 12 more)
- 0 replies
- 6 views
-
Get this Dynamic 2022 Data & IT Security Training Bundle at 97% off
By News Staff,
- neowin deals
- cyber security
- (and 4 more)
- 0 replies
- 6 views
-
- 8 replies
- 1,939 views
-
Question
generalt
I am trying to make a query from functions.php, but I get the following error:
Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given in .../functions.php on line 60
Here is functions.php:
This is the page that calls the function:
And here is mysqli_connect.php:
I think my problem has something to do with making $dbc a global variable, but I haven't been able to resolve the issue. What am I doing wrong?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts