Php Error - Unexpected require_once expecting function

后端 未结 4 1836
后悔当初
后悔当初 2021-01-16 11:50

I\'m currently trying to fetch the medoo framework so that I can begin easily retrieving data from my MySQL database... and for some reason it doesn\'t work!

here\'s

4条回答
  •  太阳男子
    2021-01-16 12:28

    This line:

    require_once('signin.php');
    

    is inside a class but outside a method, which is not possible in PHP.

提交回复
热议问题