Forum Moderators: coopster

Message Too Old, No Replies

PHP needs to clear memory after making mysql functions?

         

orion_rus

2:19 pm on Jan 7, 2005 (gmt 0)

10+ Year Member



Hello world i use $result=mysql_fetch_array(...),
Am i need to clear memory there or it happens automatically?
Thanks in advance

coopster

6:45 pm on Jan 7, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



mysql_free_result() [php.net] only needs to be called if you are concerned about how much memory is being used for queries that return large result sets. All associated result memory is automatically freed at the end of the script's execution.