old type of database class in php.