Call to undefined method mysqli_stmt::get_result

后端 未结 10 1211
难免孤独
难免孤独 2020-11-21 05:10

Here\'s my code:

include \'conn.php\';
$conn = new Connection();
$query = \'SELECT EmailVerified, Blocked FROM users WHERE Email = ? AND SLA = ? AND `Passwo         


        
10条回答
  •  無奈伤痛
    2020-11-21 05:29

    I was getting this same error on my server - PHP 7.0 with the mysqlnd extension already enabled.

    Solution was for me (thanks to this page) was to deselect the mysqli extension and select nd_mysqli instead.

    NB - You may be able to access the extensions selector in your cPanel. (I access mine via the Select PHP Version option.)

提交回复
热议问题