I'am doing this:
$this->result = $this->stmt->get_result();
while ($res = $this->result->fetch_assoc()) {
$data[] = $res;
}
and I get this:
Call to undefined method mysqli_stmt::get_result()
I've checked in my cpanel that the mysqlnd extension is enabled, but still getting this error
how can I replace this part of code to make it work? can't find the appropiate function