PHP Classes

error while reading file

Recommend this page to a friend!

      mdb  >  All threads  >  error while reading file  >  (Un) Subscribe thread alerts  
Subject:error while reading file
Summary:error while reading file
Messages:2
Author:Richard Bates
Date:2008-03-25 15:53:11
Update:2008-03-25 16:40:41
 

  1. error while reading file   Reply   Report abuse  
Picture of Richard Bates Richard Bates - 2008-03-25 15:53:12
trying to read a .MDB file with a time stamp as the first field then get this error.

"C:\program Files\PHP\php.exe" -f "C:\Documents and Settings\ME\Desktop\MDBPHPFiles\4crHRFeb2008\Data1.php">Data1.txt
PHP Notice: Undefined variable: result in C:\Program Files\PHP\MDBClass\class_mdb.php on line 100
PHP Notice: Undefined variable: result in C:\Program Files\PHP\MDBClass\class_mdb.php on line 102
PHP Fatal error: Call to a member function execute() on a non-object in C:\Prog
ram Files\PHP\MDBClass\class_mdb.php on line 114



I think it is a 2-byte timestamp???
when using mdb-tools in freebsd, get a value like this for the first field
2475163655453640864301056.000000,"12/13/01 20:45:52"
note where it says ,"12/13/01 20:45:52" is the same for every record, the first value changes.

  2. Re: error while reading file   Reply   Report abuse  
Picture of Richard Bates Richard Bates - 2008-03-25 16:40:41 - In reply to message 1 from Richard Bates
One more thing I forgot...
the actual value for the Time field in the .MDB file is
02/05/08 01:03 PM