this is db wrapper file for both mysqli and pdo for usage with php.