JSON database class built and working 100%, in under 200 lines of code. Ability to create/remove tables and add/get/update/delete rows based on search criteria in familiar MySQL syntax.

$db = new db();
$db->table_getRow($table, 'column1', 'column1_data'); // in MySQL: select * from table where column1=column1_data
@chu So is it 1 table per file, or 1 db per file? Because on a big DB, that can slow down pretty quick...
@mitchell My main concern is database corruption. PHP and its array system are responsible for speed of "query execution".
@chu Corruption wont be a problem because PHP can "Queue" file read and write operations.