I want to my page get autoupdate in PHP

Hi experts,
I am newbie in PHP and developing a web page. I want that my page update automatically when I made changes in the database. I am looking for autoupdate in php. I am finding a way how doing this. Can you provide me a code to help me out? I want that my PHP page always keeps checking the database, If any update available, then entire page should be auto updated.
