Page 1 of 1

PHP Errors

Posted: Mon Oct 16, 2006 1:24 am
by sathishkpm
Hi All,

I got the following error message, could any one explain what is the error is and why it is appear in my web page even I dont have any errors.

Code: Select all

[b] Warning: Unknown: 2 result set(s) not freed. Use mysql_free_result to free result sets which were requested using mysql_query() in Unknown on line 0[/b]
Thank you so much in advance.

- Sathish

Posted: Mon Oct 16, 2006 2:18 am
by itsmani1
which version of MySQL are you running?

MySQL Version

Posted: Mon Oct 16, 2006 3:18 am
by sathishkpm
The Version of MySQL is

Active Persistent Links 0
Active Links 0
Client API version 4.1.13

-Sathish,

Thank you for your reply and I welcome further replies

- Sathish

Posted: Mon Oct 16, 2006 3:44 am
by Rovas
Probably the MySQL retains results from previous queries, look carefully at the configuration of the database.
One solution is to put

Code: Select all

mysql_free_result()
after an operation with the database pay attention if you have pagination.