file change

Changed training html file to php file and added some code