php database files ammended