mysqli_prepare() expects parameter 1 to be mysqli

前端 未结 3 1152
一个人的身影
一个人的身影 2021-01-28 05:15

Having trouble with procedural use of mysqli

Here\'s the function:

db.php



        
3条回答
  •  面向向阳花
    2021-01-28 06:08

    Since $link is being define in db.php probably you should

    require db.php;
    

    in function.php file

提交回复
热议问题