PHP Database-adapter Resources