Tim Starling wrote:
It turns out that was just a misunderstanding on the part of the people who wrote the mysql extension for PHP. There is no need to free the underlying data for resource objects manually. The PHP manual is incorrect and mysql_free_result() is useless.
Thanks for sharing this. That function struck me as too Cish for the php way, but if the fine manual sais it is needed, we all use it :) Perhaps you should note it at http://php.net/mysql_free_result ?