Fatal error: Call to undefined method mysqli_stmt::get_result()

前端 未结 2 1678
孤街浪徒
孤街浪徒 2020-12-02 02:51

i\'m working to a web app, and PHP is my backend language...

until now, i tested the website on localhost, using easyPHP (PHP version 5.4.6<

相关标签:
2条回答
  • 2020-12-02 03:09

    Just had the same issue, and I didn't have much faith that my hosting provider would enable mysqlnd anytime soon. So ended up switching out mysqli_stmt::get_result()

    Check if this solution works for you

    0 讨论(0)
  • 2020-12-02 03:14

    I've found the problem.

    From php.net:

    mysqli_stmt :: get_result is Available only with mysqlnd.

    My online environment, unlike my local environment seems to be lacking of mysqlnd!

    So I guess I've to contact my host.

    0 讨论(0)
提交回复
热议问题