ODBC Connection
Posted: Sun Dec 14, 2003 11:41 pm
Hello,
Recently I have started PHP. To some extent I could get through.
Instead of sticking to any particular database, I am using the ODBC. I am using the common.php to have connection handle and the same I am including wherever the database connection is required and I am usong ODBC_close_all() at the end of the PHP program.
while I am going back and forwarding the page I am getting the following error
Warning: SQL error: [IBM][CLI Driver] SQL0842N A connection to server " DMA" already exists. SQLSTATE=08002 , SQL state 08002 in SQLConnect in C:\dma\common.php on line 2
and series of warning (this willl be solved when the above issue is sorted out.)
Please give the solution, how to overcome from this problem.
Thanks in advance.
S.Arul
Recently I have started PHP. To some extent I could get through.
Instead of sticking to any particular database, I am using the ODBC. I am using the common.php to have connection handle and the same I am including wherever the database connection is required and I am usong ODBC_close_all() at the end of the PHP program.
while I am going back and forwarding the page I am getting the following error
Warning: SQL error: [IBM][CLI Driver] SQL0842N A connection to server " DMA" already exists. SQLSTATE=08002 , SQL state 08002 in SQLConnect in C:\dma\common.php on line 2
and series of warning (this willl be solved when the above issue is sorted out.)
Please give the solution, how to overcome from this problem.
Thanks in advance.
S.Arul