I was looking through my code and read that it was recommened to use mysqli_free_result
when your result object is not needed anymore. But after seeing that each query is outputed to the $result
variable repeatedly throughout the script, I am wondering if mysqli_free_result
would really be necessary. Seems like each time a query is ran the $result
variable is already being wiped clean and set to a new result. Just curious if anyone has any input on this.