Every two minutes i want to check whether i received some message so want to reload my page every 2 minutes how to reload my php page using javascript
What if your client doesn't have javascript e.g feature phone browsers? Put that in the head folder of your HTML header. n is the number of seconds for the refresh intervals.