Call to undefined method mysqli_stmt::get_result

后端 未结 10 1201
难免孤独
难免孤独 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:43

    With PHP version 7.2 I just used nd_mysqli instead of mysqli and it worked as expected.

    Steps to enable it into godaddy hosting server-

    1. Login to cpanel.
    2. Click on "Select PHP version".
    3. As provided the snapshot of the latest configurations uncheck "mysqli" and enable "nd_mysqli".

提交回复
热议问题