-1

I'm working on a school project, and I have two identical databases on two different PCs. I'm running the same website, identical files, on each one.

On my laptop, the mysqli_stmt_get_result($stmt) function works perfectly, whereas on my desktop it returns an call to unidentified function error. Likewise, mysqli_stmt_close() works fine on my desktop, but not on my laptop.

I'm using php 7.2.1 on my desktop, and 7.2.14 on my laptop, so these should be included...

Jared Forth
  • 1,577
  • 6
  • 17
  • 32
Rezoan01
  • 1
  • 2
  • 1
    What does the `php_info` return on each machine? What is the actual error message? `strtolower` has been around since PHP 4 so that being undefined should be the sign of a bigger issue – user3783243 Apr 26 '19 at 11:51
  • Turns out that I just spelled wrong, so strtolower works – Rezoan01 Apr 26 '19 at 11:55

1 Answers1

1

If you don't have mysqlnd installed/loaded whatever, you will get an undefined reference when trying to call mysqli_stmt_get_result() as according to the comment here. To get more info about how to install mysqlnd driver you can see this discussion

Zain Farooq
  • 2,956
  • 3
  • 20
  • 42