Query tool with multi-database support for PHP Applications