Skip to content
This repository was archived by the owner on Nov 17, 2019. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHPAccess

Read Microsoft Access databases on Linux using mdbtools command line tools.

Installation

The recommended way to install Connection.php is through Composer.

{
	"require": {
		"tangervu/phpaccess": "dev-master"
	}
}

Example

<?php
require('vendor/autoload.php'); //Use composer autoload

$access = new PHPAccess\PHPAccess('file.mdb');

//Get tables in access database
$tables = $access->getTables();

//Display contents of the tables
foreach($tables as $table) {
	print_r($access->getData($table));
}

//Export table structures as SQL queries
echo $access->getDatabaseSql('mysql');

//etc...

About

Read Microsoft Access databases using mdbtools command line tools

Resources

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages