completed databse php script, htmlfile and python db generator, all tested and working