In the matter of prepared sentences that problems would generate the absence of the following two functions:
close()
and free_result()
Try the following two cases and nothing negative happens:
Close the statement : $statement->close();
I was testing and if several statements are used without using close();
for over it seems that it does not give an error.
Release results , after a while
or for
: Using while and for to generate lists of data, fill checkbox and others and avoid placing the function free_result () and not seen problems.
However, I ask my question:
There is a problem if I do not use close()
and free_result()