Hi all i want to take the results returned from a select query and read it into a 2d array.
I thought that after running execute I would be able to do basically the following
if (mysqli_stmt_execute($this->stmt)) {
$result = mysqli_stmt_get_result($this->stmt);
while (($row = mysqli_fetch_assoc($result)) != false) {
$this->result_array[] = $row;
}
mysqli_free_result($result);
}
The IDE though is complaining that mysqli_stmt_get_result is an undefined function.
So again I basically want to get the return results into a 2d array that i can take away for processing and close off the result resource.
Thanks.