PHP Classes

Hello! Question about $mdb->close()

Recommend this page to a friend!

      mdb  >  All threads  >  Hello! Question about $mdb->close()  >  (Un) Subscribe thread alerts  
Subject:Hello! Question about $mdb->close()
Summary:Object is already closed
Messages:1
Author:Dinara
Date:2012-04-13 06:37:22
 

  1. Hello! Question about $mdb->close()   Reply   Report abuse  
Picture of Dinara Dinara - 2012-04-13 06:37:22
I start my work with this:

$mdb = new mdb('MSAccess/'.$sm_filename.'.mdb');
$mdb->open();

Then I do some execute operations (insert and select).
By the end, I do

$mdb->close();

BUT! I get the Fatal error "Operation is not allowed when the object is closed" at this line. What does it mean?