is php and database type