Problem with connection to DB with *_close and *_connect

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Arthur P.

    Problem with connection to DB with *_close and *_connect

    Hi NG!

    I am connecting to a msSQL-DB with an own, simple DB conn-class, after
    closing the connection, to the DB with mssql_close($th is->myhandle), I
    still can query my DB; mssql_close returns TRUE, what am I doing
    wrong!?

    Thx and greets!
  • Kannan S

    #2
    Re: Problem with connection to DB with *_close and *_connect

    Wht Connection string you using.

    On Mon, 19 Jul 2004 02:52:32 -0700, Arthur P. wrote:
    [color=blue]
    > Hi NG!
    >
    > I am connecting to a msSQL-DB with an own, simple DB conn-class, after
    > closing the connection, to the DB with mssql_close($th is->myhandle), I
    > still can query my DB; mssql_close returns TRUE, what am I doing
    > wrong!?
    >
    > Thx and greets![/color]

    Comment

    • Kannan S

      #3
      Re: Problem with connection to DB with *_close and *_connect

      Hello,
      I think you use mssql_pconnect( ).. function for database connection,
      it is persistent connection.. use mssql_connect() funtion

      regards
      R.Suershkannan

      On Mon, 19 Jul 2004 15:10:42 +0500, Kannan S wrote:
      [color=blue]
      > On Mon, 19 Jul 2004 02:52:32 -0700, Arthur P. wrote:
      >[color=green]
      >> Hi NG!
      >>
      >> I am connecting to a msSQL-DB with an own, simple DB conn-class, after
      >> closing the connection, to the DB with mssql_close($th is->myhandle), I
      >> still can query my DB; mssql_close returns TRUE, what am I doing
      >> wrong!?
      >>
      >> Thx and greets![/color][/color]

      Comment

      Working...