How to use var from another file with PHP

后端 未结 0 1842
一生所求
一生所求 2021-02-12 21:39

I am trying to use var $db in config.php file, the $db var is a mysqli class ready I use this line in my config file

$db = new MysqliDb ($dbhost, $dbuser, $dbpass         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题