Hello; i am looking for a php script that can Generate html page after data entry to database

For example, there are 3 field in mysql database i.e. id, name and email. Id is auto number i.e. 1,2,3,4,....so on... when a new user enterers his name and email. i want that the php code make an html file with same id showing name and email.

Id: 1
Name xyz
Email xyz

This data entry goes to MySql database as well as generate an HTML page showin Name and Email.... thats all. pls help me i am student and i need help in my project. any ready code will be v helpful.

thank u