PHP Errors

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sathishkpm
Forum Newbie
Posts: 12
Joined: Fri Oct 13, 2006 8:28 am

PHP Errors

Post 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
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

Post by itsmani1 »

which version of MySQL are you running?
sathishkpm
Forum Newbie
Posts: 12
Joined: Fri Oct 13, 2006 8:28 am

MySQL Version

Post 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
Rovas
Forum Contributor
Posts: 272
Joined: Mon Aug 21, 2006 7:09 am
Location: Romania

Post 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.
Post Reply