added php version of the database