Another PHP db adapter