php files for prototype database and associated display