code_junkie

PHP and MS Access Schema

Nov 11th, 2011
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. $odb_conn = new COM("ADODB.Connection");
  2. $connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=". $db_path.";";
  3. $odb_conn->open($connstr);
  4.  
  5. $rs_meta = $odb_conn->OpenSchema(20, array(Null, Null, Null, "TABLE"));
Add Comment
Please, Sign In to add comment