Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
Hi, I was wondering if there is a way of closing the querys which are used by "mysql_query"?
Thanks.
Posts: 966
Threads: 5
Joined: Jul 2011
Reputation:
0
Closing the queries? What do you mean?
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
Yes, that is why I am wanting to do something with my querys.
Posts: 206
Threads: 9
Joined: Aug 2007
Reputation:
0
Whatever MySQL plugin you are using will have a function along the lines of mysql_free_result to be executed after a query that produces a result has ran.
EDIT: Beaten, stupid 120 second post limit!
Posts: 1,317
Threads: 23
Joined: Feb 2010
Reputation:
0
I'm not entirely sure what you mean with closing a mysql query, however as suggested above you can free the result after you're done, and you definitly should do that. Though I'm not sure what you're talking about with high loads on the server, I never had that. (always thread your queries too).
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
How can I thread queries? I have never thought about that.
Thanks to Redgie & Markx, its worked.