I keep getting the error PHP Fatal error: Call to undefined function mysqli_stmt_get_result(). I am using PHP version 5.6 and have enabled the extension mysqlind in my host
Just check your database table name on your server if it match on your php code.
On the right side of your server sql admin you can find this links.
Click the "create php code" then use the exact table name shown like this:
$sql = "SELECT * FROM 'users' WHERE id=?";
links image
On my part the code looks like this:
table name image
$sql = "SELECT * FROM 'pending_products' WHERE id=?";