Prepared statements - fetch number of rows then return info

Hi, I tried this and receive an error message, mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean given. Perhaps one must use another technique to fetch the data after having stored it? Came across this sitepoint post where mysqli_stmt_bind_result is used. Don’t know if I should use that.