The mysqli_stmt_store_result() function transfers the complete result set from the MySQL server into
the local memory of the PHP script. This is essential if you want to count rows or seek through results after
executing a prepared statement.
Practical use: If you are using a SELECT query with prepared statements and want
to find out the number of rows using the mysqli_stmt_num_rows() function, you must call
mysqli_stmt_store_result() beforehand.