[thelist] PHP/MySQL odd problem
Manuel González Noriega
manuel at simplelogica.net
Sat Jul 10 05:37:38 CDT 2004
El sáb, 10-07-2004 a las 05:00, Mr. Tenuta escribió:
> I close the connection and reconnected to the db and it works... but just
> curious, Isn't it a little inefficient to have to reconnect to the db each
> query instead of just opening at beginning of page and closing at end of
> page. It just doesn't sound right.
Could it be that the db server is silently failing after each query? If
so, the mysql_close() bit is irrelevant, you're already out, but the
reconnection bit makes the 2nd query work
HTH
--
Manuel trabaja para Simplelógica, construcción web
(+34) 985 22 12 65 http://simplelogica.net
More information about the thelist
mailing list