[nycphp-talk] warning - mysql resource
Phil Powell
soazine at erols.com
Wed Aug 27 14:25:03 EDT 2003
I never have to reconnect after each query, however, you might want to check in your program if you have done this statement prematurely:
mysql_free_result($query)
I had that statement prematurely and it caused db reconnection issues as well.
Phil
----- Original Message -----
From: Peter Lehrer
To: NYPHP Talk
Sent: Wednesday, August 27, 2003 2:20 PM
Subject: [nycphp-talk] warning - mysql resource
I am performing 2 mysql_query statements in one program and the second doesn't return a
"valid MySQL result resource."
Are you suppose to reconnect to the database with each mysql query?
Peter Lehrer
------------------------------------------------------------------------------
_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20030827/895ddd2e/attachment.html>
More information about the talk
mailing list