Q:

Refresh current page in PHP

Ok I have a page called inbox.php which is an inbox in receiving messages from other users.  The new messages will load though every time the user "refreshes" the page.  How can I write this in PHP where the inbox.php will automatically refreshes itself every 5 seconds?  Thanks and peace. 

A:

It can be done with one simple meta tag
<meta http-equiv="refresh" content="5; ,URL=http://www.example.com/index.php">
                                    ^== seconds         ^=== URL

