mysqli_query() in different php directories: Couldn't fetch mysqli
null
null 2020-07-11 17:46:16
0
0
1275

I encountered a very confusing problem. There is nothing wrong with the MYSQLI connection.

/index.php //Execute mysqli update successfully

/admin/index.php //Execute mysqli update failed

And the database configuration file is in /core/database. php

##----

How to solve this problem?

Warning: mysqli_query(): Couldn't fetch mysqli in D:\wwwroot\admin\index.php on line 14

null
null

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template